]> git.baikalelectronics.ru Git - kernel.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)
commitfe8cb02c9de70efec93df38a072ced436197f275
tree6467805ada12be5cd1d5136869bf1f031f441999
parent18e017392550c8e96549ab7927c7cc0a2dcbf3a0
[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