summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips64/kernel/scall_o32.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips64/kernel/scall_o32.S b/arch/mips64/kernel/scall_o32.S
index 8f09fcc3c..646876a04 100644
--- a/arch/mips64/kernel/scall_o32.S
+++ b/arch/mips64/kernel/scall_o32.S
@@ -36,9 +36,12 @@ NESTED(handle_sys, PT_SIZE, sp)
STI
.set at
#if DEBUG_MIPS64
- SAVE_ALL
jal dodebug
- RESTORE_ALL
+ ld $4, PT_R4(sp)
+ ld $5, PT_R5(sp)
+ ld $6, PT_R6(sp)
+ ld $7, PT_R7(sp)
+ ld $2, PT_R2(sp)
#endif
ld t1, PT_EPC(sp) # skip syscall on return