Skip to contentSkip to conversation

MIPS: start.S: remove obsolete 64 bit handling in setup_c0_status

PATCH New daniel.schwierzeck at gmail.com 2 participants 2 messages Jan 31, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: start.S: remove obsolete 64 bit handling in setup_c0_status

From: Daniel Schwierzeck <[email protected]>

---
 arch/mips/cpu/mips32/start.S | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
arch/mips/cpu/mips32/start.S +1 -9
index 51ce914..65acf7d 100644
@@ -47,14 +47,6 @@
 	.set	pop
 	.endm
 
-	.macro	setup_c0_status_reset
-#ifdef CONFIG_64BIT
-	setup_c0_status ST0_KX 0
-#else
-	setup_c0_status 0 0
-#endif
-	.endm
-
 #define RVECENT(f,n) \
    b f; nop
 #define XVECENT(f,bev) \
@@ -222,7 +214,7 @@ reset:
 	/* WP(Watch Pending), SW0/1 should be cleared */
 	mtc0	zero, CP0_CAUSE
 
-	setup_c0_status_reset
+	setup_c0_status 0 0
 
 	/* Init Timer */
 	mtc0	zero, CP0_COUNT
Signature · 1 line
1.8.1.1