* [2.6 patch] x86_32: select_idle_routine() must be __cpuinit
@ 2007-12-11 22:22 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-12-11 22:22 UTC (permalink / raw)
To: tglx, mingo, hpa; +Cc: linux-kernel
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n,
CONFIG_HOTPLUG_CPU=y:
<-- snip -->
...
WARNING: vmlinux.o(.text+0x1199a): Section mismatch: reference to .init.text.5:select_idle_routine (between 'init_intel' and 'init_nexgen')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
897e76d379d0743bd2241989c0e1391ad21e500f
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 7b89958..9663c2a 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -261,7 +261,7 @@ static void mwait_idle(void)
mwait_idle_with_hints(0, 0);
}
-void __devinit select_idle_routine(const struct cpuinfo_x86 *c)
+void __cpuinit select_idle_routine(const struct cpuinfo_x86 *c)
{
if (cpu_has(c, X86_FEATURE_MWAIT)) {
printk("monitor/mwait feature present.\n");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-11 22:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:22 [2.6 patch] x86_32: select_idle_routine() must be __cpuinit Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).