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

Next file: linux-2.4.21/arch/ppc/kernel/head_8xx.S
Previous file: linux-2.4.21/arch/ppc/kernel/head.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/ppc/kernel/head_4xx.S linux-2.4.21/arch/ppc/kernel/head_4xx.S
@@ -1,7 +1,4 @@
 /*
- * BK Id: SCCS/s.head_4xx.S 1.6 05/21/01 11:50:00 paulus
- */
-/*
  *    Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org>
  *      Initial PowerPC version.
  *    Copyright (c) 1996 Cort Dougan <cort@cs.nmt.edu>
@@ -70,6 +67,14 @@
 	.text
 _GLOBAL(_stext)
 _GLOBAL(_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
+
 	## Save residual data, init RAM disk, and command line parameters
 	
 	mr	r31,r3

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