diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/smp_64.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/smp_64.c b/arch/x86/kernel/smp_64.c index a434f6c55f83..b040224927ca 100644 --- a/arch/x86/kernel/smp_64.c +++ b/arch/x86/kernel/smp_64.c | |||
@@ -420,9 +420,6 @@ int smp_call_function_single (int cpu, void (*func) (void *info), void *info, | |||
420 | /* prevent preemption and reschedule on another processor */ | 420 | /* prevent preemption and reschedule on another processor */ |
421 | int ret, me = get_cpu(); | 421 | int ret, me = get_cpu(); |
422 | 422 | ||
423 | /* Can deadlock when called with interrupts disabled */ | ||
424 | WARN_ON(irqs_disabled()); | ||
425 | |||
426 | if (cpu == me) { | 423 | if (cpu == me) { |
427 | local_irq_disable(); | 424 | local_irq_disable(); |
428 | func(info); | 425 | func(info); |