Commit 3428f3d6 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: remove irqs disabled warning.

there's already a warning in the topmost function
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7930e534
...@@ -420,9 +420,6 @@ int smp_call_function_single (int cpu, void (*func) (void *info), void *info, ...@@ -420,9 +420,6 @@ int smp_call_function_single (int cpu, void (*func) (void *info), void *info,
/* prevent preemption and reschedule on another processor */ /* prevent preemption and reschedule on another processor */
int ret, me = get_cpu(); int ret, me = get_cpu();
/* Can deadlock when called with interrupts disabled */
WARN_ON(irqs_disabled());
if (cpu == me) { if (cpu == me) {
local_irq_disable(); local_irq_disable();
func(info); func(info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment