]> git.karo-electronics.de Git - linux-beck.git/commit
[IA64] prevent ia64 from invoking irq handlers on offline CPUs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 31 Aug 2008 18:06:30 +0000 (11:06 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 10 Sep 2008 17:52:42 +0000 (10:52 -0700)
commite7b140365b86aaf94374214c6f4e6decbee2eb0a
tree6467805ada12be5cd1d5136869bf1f031f441999
parent6bf6a1a49377c32a02939ec835553703994f3e41
[IA64] prevent ia64 from invoking irq handlers on offline CPUs

Make ia64 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.  Also remove the existing
redundant cpu_clear(cpu, cpu_online_map).

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/smpboot.c