Skip to content

Commit

Permalink
x86: remove irqs disabled warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 7930e53 commit 3428f3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kernel/smp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3428f3d

Please sign in to comment.