diff --git a/kernel/sched.c b/kernel/sched.c index 3c11ae0a948d9337732ce9d0e37076d84c324ff6..ec0af1fcb195957e2d3814541058c65a4a1ab2ba 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -5481,7 +5481,7 @@ asmlinkage void __sched schedule(void) } EXPORT_SYMBOL(schedule); -#ifdef CONFIG_SMP +#ifdef CONFIG_MUTEX_SPIN_ON_OWNER /* * Look out! "owner" is an entirely speculative pointer * access and not reliable.