force offline the processor during hot-removal
authorZhang Rui <rui.zhang@intel.com>
Tue, 29 Apr 2008 06:35:56 +0000 (02:35 -0400)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:01 +0000 (23:27 +0200)
commitb62b8ef906cdf7115af579ce7378886ce3e0ce00
tree9017eff86e7a8d22a88d92df88021f01162d7e0e
parent26d46867b7d27f68a446b073dac7817721ae4c8f
force offline the processor during hot-removal

The ACPI device node for the cpu has already been unregistered
when acpi_processor_handle_eject is called.
Thus we should offline the cpu and continue, rather than a failure here.
http://bugzilla.kernel.org/show_bug.cgi?id=9772

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/processor_core.c
kernel/cpu.c