]> 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>
Tue, 23 Oct 2012 02:50:00 +0000 (13:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 24 Oct 2012 03:20:04 +0000 (14:20 +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 c2a49b4bb6441610308af70f672790790560435a..99e6474064ca7089cae8e51546cc05de2d723879 100644 (file)
@@ -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);