Index: kernel/arch/mips32/include/context_offset.h
===================================================================
--- kernel/arch/mips32/include/context_offset.h	(revision 6da1013f00030b5dcedc878f40a0e6242a8d3282)
+++ kernel/arch/mips32/include/context_offset.h	(revision 1f7cb3a9d87b214dbf470650b8d49d9df325db0d)
@@ -77,24 +77,15 @@
 #define EOFFSET_T6     0x34
 #define EOFFSET_T7     0x38
-#define EOFFSET_S0     0x3c
-#define EOFFSET_S1     0x40
-#define EOFFSET_S2     0x44
-#define EOFFSET_S3     0x48
-#define EOFFSET_S4     0x4c
-#define EOFFSET_S5     0x50
-#define EOFFSET_S6     0x54
-#define EOFFSET_S7     0x58
-#define EOFFSET_T8     0x5c
-#define EOFFSET_T9     0x60
-#define EOFFSET_GP     0x64
-#define EOFFSET_SP     0x68
-#define EOFFSET_S8     0x6c
-#define EOFFSET_RA     0x70
-#define EOFFSET_LO     0x74
-#define EOFFSET_HI     0x78
-#define EOFFSET_STATUS 0x7c
-#define EOFFSET_EPC    0x80
-#define EOFFSET_K1     0x84
-#define REGISTER_SPACE 136
+#define EOFFSET_T8     0x3c
+#define EOFFSET_T9     0x40
+#define EOFFSET_GP     0x44
+#define EOFFSET_SP     0x48
+#define EOFFSET_RA     0x4c
+#define EOFFSET_LO     0x50
+#define EOFFSET_HI     0x54
+#define EOFFSET_STATUS 0x58
+#define EOFFSET_EPC    0x5c
+#define EOFFSET_K1     0x60
+#define REGISTER_SPACE 100
 
 #ifdef __ASM__
Index: kernel/arch/mips32/include/exception.h
===================================================================
--- kernel/arch/mips32/include/exception.h	(revision 6da1013f00030b5dcedc878f40a0e6242a8d3282)
+++ kernel/arch/mips32/include/exception.h	(revision 1f7cb3a9d87b214dbf470650b8d49d9df325db0d)
@@ -74,17 +74,8 @@
 	uint32_t t6;
 	uint32_t t7;
-	uint32_t s0;
-	uint32_t s1;
-	uint32_t s2;
-	uint32_t s3;
-	uint32_t s4;
-	uint32_t s5;
-	uint32_t s6;
-	uint32_t s7;
 	uint32_t t8;
 	uint32_t t9;
 	uint32_t gp;
 	uint32_t sp;
-	uint32_t s8;
 	uint32_t ra;
 	
Index: kernel/arch/mips32/src/start.S
===================================================================
--- kernel/arch/mips32/src/start.S	(revision 6da1013f00030b5dcedc878f40a0e6242a8d3282)
+++ kernel/arch/mips32/src/start.S	(revision 1f7cb3a9d87b214dbf470650b8d49d9df325db0d)
@@ -76,16 +76,4 @@
 	sw $at, EOFFSET_HI(\r)
 	
-#ifdef CONFIG_DEBUG_ALLREGS	
-	sw $s0, EOFFSET_S0(\r)
-	sw $s1, EOFFSET_S1(\r)
-	sw $s2, EOFFSET_S2(\r)
-	sw $s3, EOFFSET_S3(\r)
-	sw $s4, EOFFSET_S4(\r)
-	sw $s5, EOFFSET_S5(\r)
-	sw $s6, EOFFSET_S6(\r)
-	sw $s7, EOFFSET_S7(\r)
-	sw $s8, EOFFSET_S8(\r)
-#endif
-	
 	sw $gp, EOFFSET_GP(\r)
 	sw $ra, EOFFSET_RA(\r)
@@ -133,15 +121,4 @@
 	lw $t9, EOFFSET_T9(\r)
 	
-#ifdef CONFIG_DEBUG_ALLREGS	
-	lw $s0, EOFFSET_S0(\r)
-	lw $s1, EOFFSET_S1(\r)
-	lw $s2, EOFFSET_S2(\r)
-	lw $s3, EOFFSET_S3(\r)
-	lw $s4, EOFFSET_S4(\r)
-	lw $s5, EOFFSET_S5(\r)
-	lw $s6, EOFFSET_S6(\r)
-	lw $s7, EOFFSET_S7(\r)
-	lw $s8, EOFFSET_S8(\r)
-#endif
 	lw $gp, EOFFSET_GP(\r)
 	lw $ra, EOFFSET_RA(\r)
