csky: fixup save hi,lo,dspcr regs in switch_stack.
authorGuo Ren <ren_guo@c-sky.com>
Mon, 31 Dec 2018 07:17:48 +0000 (15:17 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 31 Dec 2018 14:57:27 +0000 (22:57 +0800)
commit789154c2ad74c29c3c60c5136c1785745abe4897
treef844b0a765ac5d5d2b027fc5b7e7ed9b4936db0b
parent31295a72b525721d10737260aea6918fb34607be
csky: fixup save hi,lo,dspcr regs in switch_stack.

HI, LO, DSPCR registers are 807/810 related regs and no need for 610/860.
All of the regs must be saved in pt_regs and switch_stack. This patch
fixup saving dspcr reg in switch_stack and pt_regs.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
arch/csky/abiv1/inc/abi/switch_context.h [new file with mode: 0644]
arch/csky/abiv2/inc/abi/entry.h
arch/csky/abiv2/inc/abi/switch_context.h [new file with mode: 0644]
arch/csky/include/asm/processor.h
arch/csky/include/uapi/asm/ptrace.h
arch/csky/kernel/asm-offsets.c
arch/csky/kernel/entry.S
arch/csky/kernel/ptrace.c