From 0c29ce5ce87587da8eae1ea79fc7cda45fdba07a Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Wed, 26 Apr 2000 19:15:56 +0000 Subject: 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. --- arch/mips64/kernel/scall_o32.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'arch/mips64/kernel/scall_o32.S') 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 -- cgit v1.2.3