Skip to content

Commit

Permalink
sparc64: Disable timer interrupts in fixup_irqs().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Sep 9, 2008
1 parent 4d08461 commit 2eb2f77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ void fixup_irqs(void)
}
spin_unlock_irqrestore(&irq_desc[irq].lock, flags);
}

tick_ops->disable_irq();
}
#endif

Expand Down

0 comments on commit 2eb2f77

Please sign in to comment.