summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-28 16:58:26 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-28 16:58:26 +0000
commitec8daef41c83eb1d0d8bfc4b51a99f9216aab13b (patch)
treef1fbfeb03e2902d8c6f8f63a3300ce6c103bce8a
parent5ef77ed0715385e6beeffe0fd9f6001920e6dbbe (diff)
When saving syscalls also save a6 and a7. We may need them later for
ptrace(2).
-rw-r--r--arch/mips64/kernel/scall_o32.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips64/kernel/scall_o32.S b/arch/mips64/kernel/scall_o32.S
index 927ba6838..e47b1f31c 100644
--- a/arch/mips64/kernel/scall_o32.S
+++ b/arch/mips64/kernel/scall_o32.S
@@ -113,6 +113,8 @@ trace_a_syscall:
SAVE_STATIC
sd a4, PT_R8(sp)
sd a5, PT_R9(sp)
+ sd a6, PT_R10(sp)
+ sd a7, PT_R11(sp)
sd t2,PT_R1(sp)
jal syscall_trace