sparc64: Disable timer interrupts in fixup_irqs().
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Sep 2008 00:21:07 +0000 (17:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Sep 2008 00:21:07 +0000 (17:21 -0700)
When a CPU is offlined, we leave the timer interrupts disabled
because fixup_irqs() does not explicitly take care of that case.

Fix this by invoking tick_ops->disable_irq().

Based upon analysis done by Paul E. McKenney.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/irq.c

index 9b6689d9d57097239641d51653dc921e2607b997..23963882bc18f203cd27850300cbb80755df025e 100644 (file)
@@ -792,6 +792,8 @@ void fixup_irqs(void)
                }
                spin_unlock_irqrestore(&irq_desc[irq].lock, flags);
        }
+
+       tick_ops->disable_irq();
 }
 #endif