[PATCH] x86: fix section annotation of acpi_map_cpu2node()

From: Jan Beulich
Date: Tue May 08 2012 - 10:19:32 EST


Commit 943bc7e110f269f88dc92bbf249adbd384d35f1c added __cpuinitdata
here, while for functions __cpuinit should be used.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Cc: Steffen Persvold <sp@xxxxxxxxxxxxx>

---
arch/x86/kernel/acpi/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.4-rc6/arch/x86/kernel/acpi/boot.c
+++ 3.4-rc6-x86-acpi_map_cpu2node-section/arch/x86/kernel/acpi/boot.c
@@ -593,7 +593,7 @@ void __init acpi_set_irq_model_ioapic(vo
#ifdef CONFIG_ACPI_HOTPLUG_CPU
#include <acpi/processor.h>

-static void __cpuinitdata acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
+static void __cpuinit acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
{
#ifdef CONFIG_ACPI_NUMA
int nid;



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/