diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-08 20:21:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-08 20:21:07 -0400 |
commit | 2eb2f77900d62796934bcd43c4089e444cf1179e (patch) | |
tree | 98607df5b7d540c4182d171a8d7d1aff550a081f | |
parent | 4d084617fb0d025c42c242362d1f27d337e2d407 (diff) |
sparc64: Disable timer interrupts in fixup_irqs().
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>
-rw-r--r-- | arch/sparc64/kernel/irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 9b6689d9d570..23963882bc18 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
@@ -792,6 +792,8 @@ void fixup_irqs(void) | |||
792 | } | 792 | } |
793 | spin_unlock_irqrestore(&irq_desc[irq].lock, flags); | 793 | spin_unlock_irqrestore(&irq_desc[irq].lock, flags); |
794 | } | 794 | } |
795 | |||
796 | tick_ops->disable_irq(); | ||
795 | } | 797 | } |
796 | #endif | 798 | #endif |
797 | 799 | ||