diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-29 02:35:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-06-11 19:16:54 -0400 |
commit | 2bbc8bfb03ed9fa759563e667ca8bc0ad159a77a (patch) | |
tree | ff4e685f27951318b9bb97e092c649c9e76e3b51 /kernel | |
parent | 971bbf28ffdd6130ec422b1a3793e69c95456458 (diff) |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index c77bc3a1c722..a40b4f263149 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -277,6 +277,7 @@ int __ref cpu_down(unsigned int cpu) cpu_maps_update_done(); return err; } +EXPORT_SYMBOL(cpu_down); #endif /*CONFIG_HOTPLUG_CPU*/ /* Requires cpu_add_remove_lock to be held */ |