]> 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>
Wed, 26 Sep 2012 01:32:57 +0000 (11:32 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 06:37:54 +0000 (16:37 +1000)
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 c27c0c6fd1df8b2cd2249e7311db1d8f6790f42e..0d0d856c801ca25ad20e000a9b4c2d11216515c1 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);