"sp" register is a member of "scratch" structure (which is nested in user_regs_struct) * linux/arc/arch_regs.c: Replace .sp with .scratch.sp . Fixes: v4.16-31-g134042a5 ("arc: export arc_sp_ptr") Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
5 lines
171 B
C
5 lines
171 B
C
static struct user_regs_struct arc_regs;
|
|
unsigned long *const arc_sp_ptr = &arc_regs.scratch.sp;
|
|
#define ARCH_REGS_FOR_GETREGSET arc_regs
|
|
#define ARCH_PC_REG arc_regs.efa
|