From: Andrew Morton Date: Fri, 28 Sep 2012 00:18:48 +0000 (+1000) Subject: cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved-fix X-Git-Tag: next-20121003~1^2~407 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a11b2df52a84c32406f8509df8813d95708afbbb;p=karo-tx-linux.git cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved-fix make acpi_unmap_lsapic __ref Cc: "H. Peter Anvin" Cc: "Rafael J. Wysocki" Cc: Ingo Molnar Cc: Len Brown Cc: Pavel Machek Cc: Thomas Gleixner Cc: Wen Congyang Signed-off-by: Andrew Morton --- diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index c2a49b4bb644..99e6474064ca 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -689,7 +689,7 @@ int __ref acpi_map_lsapic(acpi_handle handle, int *pcpu) } EXPORT_SYMBOL(acpi_map_lsapic); -int acpi_unmap_lsapic(int cpu) +int __ref acpi_unmap_lsapic(int cpu) { #ifdef CONFIG_ACPI_NUMA set_apicid_to_node(per_cpu(x86_cpu_to_apicid, cpu), NUMA_NO_NODE);