]> err.no Git - linux-2.6/commit
sparc64: Prevent sparc64 from invoking irq handlers on offline CPUs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 3 Sep 2008 09:15:30 +0000 (02:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 09:15:30 +0000 (02:15 -0700)
commit4d084617fb0d025c42c242362d1f27d337e2d407
tree8bc8a49447713d712aa0f66dd5c9c1e6d44a33b6
parente5bd1c3fdd06b6c0fa6dfb98ce31cea1820ce4e9
sparc64: Prevent sparc64 from invoking irq handlers on offline CPUs

Make sparc64 refrain from clearing a given to-be-offlined CPU's bit in the
cpu_online_mask until it has processed pending irqs.  This change
prevents other CPUs from being blindsided by an apparently offline CPU
nevertheless changing globally visible state.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/smp.c