patch-2.4.0-test4 linux/arch/mips64/kernel/head.S

Next file: linux/arch/mips64/kernel/mips64_ksyms.c
Previous file: linux/arch/mips64/kernel/binfmt_elf32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips64/kernel/head.S linux/arch/mips64/kernel/head.S
@@ -100,10 +100,6 @@
 
 	ARC64_TWIDDLE_PC
 
-	/* Note that all firmware passed argument registers still
-	   have their values.  */
-	jal	prom_init			# initialize firmware
-
 	CLI					# disable interrupts
 
 	mfc0	t0, CP0_STATUS
@@ -127,6 +123,10 @@
 	dsrl32	t0, t0, 0
 	mtc0	t0, CP0_WATCHHI
 #endif
+	/* Note that all firmware passed argument registers still
+	   have their values.  */
+	jal	prom_init			# initialize firmware
+
 	jal	start_kernel
 1:	b	1b				# just in case ...
 	END(kernel_entry)

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