diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-26 19:15:56 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-26 19:15:56 +0000 |
commit | 0c29ce5ce87587da8eae1ea79fc7cda45fdba07a (patch) | |
tree | aaa603c65ef540fe558eb5a8b9313817049944c9 /arch | |
parent | b1cc98f14c76af1d2cbb4b91e5a2776d3f6eef4d (diff) |
Fix the sysentry debugging code: can never do a SAVE_SOME with intrs
enabled, that might wipe out the effects of the previous SAVE_SOME
done at the beginning of handle_sys.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips64/kernel/scall_o32.S | 7 |
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 |