summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-05-08 15:19:29 +0100
committerIngo Molnar <mingo@kernel.org>2012-05-08 16:40:26 +0200
commitb2a3477727c1d43b92a3e4223f10ad5bf639df06 (patch)
tree9e7fdbefb45f97935d47c78a6ec2b60c7fc594b5
parent7164b3f5e5461b58baa82e82544ca5af71af287b (diff)
downloadlinux-b2a3477727c1d43b92a3e4223f10ad5bf639df06.tar.gz
linux-b2a3477727c1d43b92a3e4223f10ad5bf639df06.tar.bz2
linux-b2a3477727c1d43b92a3e4223f10ad5bf639df06.zip
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@suse.com> Cc: <sp@numascale.com> Link: http://lkml.kernel.org/r/4FA947910200007800082470@nat28.tlf.novell.com Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Steffen Persvold <sp@numascale.com>
-rw-r--r--arch/x86/kernel/acpi/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index a415b1f44365..7c439fe4941b 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;