patch-2.3.43 linux/arch/i386/boot/compressed/head.S

Next file: linux/arch/i386/defconfig
Previous file: linux/arch/arm/mm/mm-armv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/arch/i386/boot/compressed/head.S linux/arch/i386/boot/compressed/head.S
@@ -12,10 +12,6 @@
  * the page directory. [According to comments etc elsewhere on a compressed
  * kernel it will end up at 0x1000 + 1Mb I hope so as I assume this. - AC]
  *
- * In SMP mode we keep this page safe. Really we ought to shuffle things and
- * put the trampoline here. - AC. An SMP trampoline enters with %cx holding
- * the stack base.
- *
  * Page 0 is deliberately kept safe, since System Management Mode code in 
  * laptops may need to access the BIOS data stored there.  This is also
  * useful for future device drivers that either access the BIOS via VM86 
@@ -41,24 +37,7 @@
 	movl %ax,%es
 	movl %ax,%fs
 	movl %ax,%gs
-#ifdef __SMP__
-	orw %bx,%bx			# What state are we in BX=1 for SMP
-					# 0 for boot
-	jz  2f				# Initial boot
 
-/*
- *	We are trampolining an SMP processor
- */
-	mov %ax,%ss
-	xorl %eax,%eax			# Back to 0
-	mov  %cx,%ax			# SP low 16 bits
-	movl %eax,%esp
-	pushl $0			# Clear NT
-	popfl
-	ljmp $(__KERNEL_CS), $0x100000	# Into C and sanity
-
-2:
-#endif
 	lss SYMBOL_NAME(stack_start),%esp
 	xorl %eax,%eax
 1:	incl %eax		# check that A20 really IS enabled

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)