diff options
author | 2017-01-08 19:45:48 -0800 | |
---|---|---|
committer | 2017-01-10 11:51:33 -0800 | |
commit | ecd43afdbe72017aefe48080631eb625e177ef4d (patch) | |
tree | 6df7b0bc6670f85116f1d256ed7df55885b910d9 /arch/arc/include/asm/ptrace.h | |
parent | ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP (diff) | |
download | linux-dev-ecd43afdbe72017aefe48080631eb625e177ef4d.tar.xz linux-dev-ecd43afdbe72017aefe48080631eb625e177ef4d.zip |
ARCv2: save r30 on kernel entry as gcc uses it for code-gen
This is not exposed to userspace debugers yet, which can be done
independently as a seperate patch !
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/ptrace.h')
-rw-r--r-- | arch/arc/include/asm/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/ptrace.h b/arch/arc/include/asm/ptrace.h index 69095da1fcfd..47111d565a95 100644 --- a/arch/arc/include/asm/ptrace.h +++ b/arch/arc/include/asm/ptrace.h @@ -84,7 +84,7 @@ struct pt_regs { unsigned long fp; unsigned long sp; /* user/kernel sp depending on where we came from */ - unsigned long r12; + unsigned long r12, r30; /*------- Below list auto saved by h/w -----------*/ unsigned long r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11; |