csky: Fixup remove unnecessary save/restore PSR code
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 13 May 2020 09:16:26 +0000 (17:16 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Wed, 13 May 2020 09:55:06 +0000 (17:55 +0800)
commit9e2ca15322acc5a0a697305e02af9ce5ac881f66
tree96ac36843530a82b31e32d36999e9f185d0d8586
parent6633a5aa8eb6bda70eb3a9837efd28a67ccc6e0a
csky: Fixup remove unnecessary save/restore PSR code

All processes' PSR could success from SETUP_MMU, so need set it
in INIT_THREAD again.

And use a3 instead of r7 in __switch_to for code convention.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/include/asm/processor.h
arch/csky/kernel/asm-offsets.c
arch/csky/kernel/entry.S