[tip:x86/urgent] x86: Fix section annotation of acpi_map_cpu2node()

From: tip-bot for Jan Beulich
Date: Tue May 08 2012 - 11:13:02 EST


Commit-ID: b2a3477727c1d43b92a3e4223f10ad5bf639df06
Gitweb: http://git.kernel.org/tip/b2a3477727c1d43b92a3e4223f10ad5bf639df06
Author: Jan Beulich <JBeulich@xxxxxxxx>
AuthorDate: Tue, 8 May 2012 15:19:29 +0100
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 8 May 2012 16:40:26 +0200

x86: Fix section annotation of acpi_map_cpu2node()

Commit 943bc7e110f2 ("x86: Fix section warnings") added
__cpuinitdata here, while for functions __cpuinit should be
used.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Cc: <sp@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/4FA947910200007800082470@xxxxxxxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Steffen Persvold <sp@xxxxxxxxxxxxx>
---
arch/x86/kernel/acpi/boot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index a415b1f..7c439fe 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -593,7 +593,7 @@ void __init acpi_set_irq_model_ioapic(void)
#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/