]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved-fix
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 3 Nov 2012 00:42:01 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:26 +0000 (15:08 +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);