From: Glauber Costa Date: Mon, 3 Mar 2008 17:12:44 +0000 (-0300) Subject: x86: remove irqs disabled warning. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3428f3d6caa3bc2adde050a2771a2821eb46f901;p=linux-beck.git x86: remove irqs disabled warning. there's already a warning in the topmost function Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- 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, /* prevent preemption and reschedule on another processor */ int ret, me = get_cpu(); - /* Can deadlock when called with interrupts disabled */ - WARN_ON(irqs_disabled()); - if (cpu == me) { local_irq_disable(); func(info);