idle_regs() must be __cpuinit
authorAdrian Bunk <bunk@kernel.org>
Wed, 6 Feb 2008 09:37:55 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:08 +0000 (10:41 -0800)
commit6b2fb3c65844452bb9e8b449d50863d1b36c5dc0
tree2dee8421cd2b679e703b2ae8d7bdfafde7ef6d68
parent6c81c32f9616fd6f2795dceae2f70943cb4d8609
idle_regs() must be __cpuinit

Fix the following section mismatch with CONFIG_HOTPLUG=n,
CONFIG_HOTPLUG_CPU=y:

WARNING: vmlinux.o(.text+0x399a6): Section mismatch: reference to .init.text.5:idle_regs (between 'fork_idle' and 'get_task_mm')

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/smpboot.c
arch/x86/kernel/cpu/common.c
kernel/fork.c