diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 12:12:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:55 -0400 |
commit | 3428f3d6caa3bc2adde050a2771a2821eb46f901 (patch) | |
tree | c979f745ef021db069606f4846594b5ce58c22e0 /arch | |
parent | 7930e53422d3d06ea873199f66c288806d37cc94 (diff) |
x86: remove irqs disabled warning.
there's already a warning in the topmost function
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-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); |