提交 3428f3d6 编写于 作者: G Glauber Costa 提交者: Ingo Molnar

x86: remove irqs disabled warning.

there's already a warning in the topmost function
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册