ARC: Make way for pt_regs != user_regs_struct
authorVineet Gupta <vgupta@synopsys.com>
Wed, 14 May 2014 14:05:15 +0000 (19:35 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:40 +0000 (18:09 +0530)
commit6ffb9c8c5f59a50779109e8b0a2e1bdd4b9be5c5
treea6c124d9250e63241544227095df7b1c3a26ef56
parent5a343b9fe22995c43b1209b0b63ea0fa2824cbae
ARC: Make way for pt_regs != user_regs_struct

These have been register compatible so far. However ARCv2 mandates
different pt_regs layout (due to h/w auto save). To keep pt_regs same
for both, we start by removing the assumption - used mainly for block
copies between the 2 structs in signal handling and ptrace

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/ptrace.c
arch/arc/kernel/signal.c