ARC: pt_regs update #3: Remove unused gutter at start of callee_regs
authorVineet Gupta <vgupta@synopsys.com>
Mon, 27 May 2013 16:13:41 +0000 (21:43 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 22 Jun 2013 13:53:22 +0000 (19:23 +0530)
commit16f9afe651e8197fb7ce6df0990d8e2ad779e1af
treec6482028a0ceced44e7e4819f7741c2fd8084e3e
parent2fa919045b72ec892e17d56f888e6af4260b7629
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>
arch/arc/include/asm/entry.h
arch/arc/include/asm/processor.h
arch/arc/include/asm/ptrace.h
arch/arc/include/uapi/asm/ptrace.h
arch/arc/kernel/asm-offsets.c
arch/arc/kernel/ctx_sw.c
arch/arc/kernel/process.c
arch/arc/kernel/ptrace.c
arch/arc/kernel/stacktrace.c