]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Nov 2012 03:03:46 +0000 (14:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Nov 2012 04:54:41 +0000 (15:54 +1100)
make acpi_unmap_lsapic __ref

Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/kernel/acpi/boot.c

index c9fcd8cc0e60e433d098c1322eea4f88a2a13fd4..844491bec472b4b54a5779a1dd9f68b468f6f190 100644 (file)
@@ -695,7 +695,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);