* [PATCH] x86: fix section annotation of acpi_map_cpu2node()
@ 2012-05-08 14:19 Jan Beulich
2012-05-08 15:12 ` [tip:x86/urgent] x86: Fix section annotation of acpi_map_cpu2node( ) tip-bot for Jan Beulich
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2012-05-08 14:19 UTC (permalink / raw)
To: mingo, tglx, hpa; +Cc: sp, linux-kernel
Commit 943bc7e110f269f88dc92bbf249adbd384d35f1c added __cpuinitdata
here, while for functions __cpuinit should be used.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Steffen Persvold <sp@numascale.com>
---
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/urgent] x86: Fix section annotation of acpi_map_cpu2node( )
2012-05-08 14:19 [PATCH] x86: fix section annotation of acpi_map_cpu2node() Jan Beulich
@ 2012-05-08 15:12 ` tip-bot for Jan Beulich
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jan Beulich @ 2012-05-08 15:12 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, jbeulich, JBeulich, sp, tglx
Commit-ID: b2a3477727c1d43b92a3e4223f10ad5bf639df06
Gitweb: http://git.kernel.org/tip/b2a3477727c1d43b92a3e4223f10ad5bf639df06
Author: Jan Beulich <JBeulich@suse.com>
AuthorDate: Tue, 8 May 2012 15:19:29 +0100
Committer: Ingo Molnar <mingo@kernel.org>
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@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>
---
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-08 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 14:19 [PATCH] x86: fix section annotation of acpi_map_cpu2node() Jan Beulich
2012-05-08 15:12 ` [tip:x86/urgent] x86: Fix section annotation of acpi_map_cpu2node( ) tip-bot for Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®