Skip to contentSkip to conversation

x86 fixes for .27

GIT PULL Thomas Gleixner 1 participant 1 message Jul 27, 2008 x86

lore
Share & tools
lore
#0 lore raw

Linus,

please pull x86 fixes from

ssh://master.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip.git x86/urgent

Thanks,

tglx

----
Thomas Gleixner (1):
x86: fix cpu hotplug on 32bit

 arch/x86/kernel/head_32.S |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
arch/x86/kernel/head_32.S +5 -3
index f67e934..a7010c3 100644
@@ -456,9 +456,6 @@ is386:	movl $2,%ecx		# set MP
 1:
 #endif /* CONFIG_SMP */
 	jmp *(initial_code)
-.align 4
-ENTRY(initial_code)
-	.long i386_start_kernel
 
 /*
  * We depend on ET to be correct. This checks for 287/387.
@@ -601,6 +598,11 @@ ignore_int:
 #endif
 	iret
 
+.section .cpuinit.data,"wa"
+.align 4
+ENTRY(initial_code)
+	.long i386_start_kernel
+
 .section .text
 /*
  * Real beginning of normal "text" segment