From baa0f09c007808ec8e47a2fc4f978191870bc742 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 25 Oct 2012 12:14:37 +1100 Subject: [PATCH] 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 --- arch/x86/kernel/acpi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index c9fcd8cc0e60..844491bec472 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -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); -- 2.39.5