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 9b6689d..2396388 100644 (file)
@@ -792,6 +792,8 @@ void fixup_irqs(void)
                }
                spin_unlock_irqrestore(&irq_desc[irq].lock, flags);
        }
+
+       tick_ops->disable_irq();
 }
 #endif