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>
Showing
- arch/arc/include/asm/entry.h 3 additions, 11 deletionsarch/arc/include/asm/entry.h
- arch/arc/include/asm/processor.h 8 additions, 3 deletionsarch/arc/include/asm/processor.h
- arch/arc/include/asm/ptrace.h 0 additions, 1 deletionarch/arc/include/asm/ptrace.h
- arch/arc/include/uapi/asm/ptrace.h 1 addition, 1 deletionarch/arc/include/uapi/asm/ptrace.h
- arch/arc/kernel/asm-offsets.c 1 addition, 0 deletionsarch/arc/kernel/asm-offsets.c
- arch/arc/kernel/ctx_sw.c 5 additions, 9 deletionsarch/arc/kernel/ctx_sw.c
- arch/arc/kernel/process.c 1 addition, 3 deletionsarch/arc/kernel/process.c
- arch/arc/kernel/ptrace.c 4 additions, 2 deletionsarch/arc/kernel/ptrace.c
- arch/arc/kernel/stacktrace.c 1 addition, 1 deletionarch/arc/kernel/stacktrace.c
Loading
Please register or sign in to comment