From: Thomas Gleixner Date: Sun, 27 Jul 2008 19:43:11 +0000 (+0200) Subject: x86: fix cpu hotplug on 32bit X-Git-Tag: v2.6.27-rc1~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=583323b9d2f624884a8c9563fb5a4d795f39ab07;p=pandora-kernel.git x86: fix cpu hotplug on 32bit commit 3e9704739daf46a8ba6593d749c67b5f7cd633d2 ("x86: boot secondary cpus through initial_code") causes the kernel to crash when a CPU is brought online after the read only sections have been write protected. The write to initial_code in do_boot_cpu() fails. Move inital_code to .cpuinit.data section. Signed-off-by: Thomas Gleixner Acked-by: H. Peter Anvin --- Reading git-diff-tree failed