patch-2.4.21 linux-2.4.21/arch/ppc/kernel/head_8xx.S

Next file: linux-2.4.21/arch/ppc/kernel/i8259.c
Previous file: linux-2.4.21/arch/ppc/kernel/head_4xx.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/ppc/kernel/head_8xx.S linux-2.4.21/arch/ppc/kernel/head_8xx.S
@@ -1,7 +1,4 @@
 /*
- * BK Id: %F% %I% %G% %U% %#%
- */
-/*
  *  arch/ppc/kernel/except_8xx.S
  *
  *  PowerPC version 
@@ -82,6 +79,12 @@
 
 	.globl	__start
 __start:
+	/* To accomodate some SMP systems that overwrite the first few
+	 * locations before cpu 0 starts, the bootloader starts us at 0xc.
+	 */
+	nop
+	nop
+	nop
 	mr	r31,r3			/* save parameters */
 	mr	r30,r4
 	mr	r29,r5

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