diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-05-27 12:13:41 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-06-22 09:53:22 -0400 |
commit | 16f9afe651e8197fb7ce6df0990d8e2ad779e1af (patch) | |
tree | c6482028a0ceced44e7e4819f7741c2fd8084e3e /arch/arc/include/uapi | |
parent | 2fa919045b72ec892e17d56f888e6af4260b7629 (diff) |
ARC: pt_regs update #3: Remove unused gutter at start of callee_regs
This is trickier than prev two:
* context switching code saves kernel mode callee regs in the format of
struct callee_regs thus needs adjustment. This also reduces the height
of topmost kernel stack frame by 1 word.
* Since kernel stack unwinder is sensitive to height of topmost kernel
stack frame, that needs a word of adjustment too.
ptrace needs a bit of updating since pt_regs now diverges from
user_regs_struct.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/uapi')
-rw-r--r-- | arch/arc/include/uapi/asm/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/uapi/asm/ptrace.h b/arch/arc/include/uapi/asm/ptrace.h index e0e8403f181f..4599109f68f2 100644 --- a/arch/arc/include/uapi/asm/ptrace.h +++ b/arch/arc/include/uapi/asm/ptrace.h | |||
@@ -38,8 +38,8 @@ struct user_regs_struct { | |||
38 | long r12, r11, r10, r9, r8, r7, r6, r5, r4, r3, r2, r1, r0; | 38 | long r12, r11, r10, r9, r8, r7, r6, r5, r4, r3, r2, r1, r0; |
39 | long sp; | 39 | long sp; |
40 | } scratch; | 40 | } scratch; |
41 | long pad2; | ||
41 | struct { | 42 | struct { |
42 | long pad; | ||
43 | long r25, r24, r23, r22, r21, r20; | 43 | long r25, r24, r23, r22, r21, r20; |
44 | long r19, r18, r17, r16, r15, r14, r13; | 44 | long r19, r18, r17, r16, r15, r14, r13; |
45 | } callee; | 45 | } callee; |