csky: Fixup duplicated restore sp in RESTORE_REGS_FTRACE
There is no user return for RESTORE_REGS_FTRACE, so it's no need to save sp into ss0 as RESTORE_REGS_ALL. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
8077e66bc3
commit
f788bb2fb9
|
@ -136,8 +136,6 @@
|
||||||
|
|
||||||
.macro RESTORE_REGS_FTRACE
|
.macro RESTORE_REGS_FTRACE
|
||||||
ldw tls, (sp, 0)
|
ldw tls, (sp, 0)
|
||||||
ldw a0, (sp, 16)
|
|
||||||
mtcr a0, ss0
|
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_HAS_HILO
|
#ifdef CONFIG_CPU_HAS_HILO
|
||||||
ldw a0, (sp, 140)
|
ldw a0, (sp, 140)
|
||||||
|
@ -158,7 +156,6 @@
|
||||||
addi sp, 40
|
addi sp, 40
|
||||||
ldm r16-r30, (sp)
|
ldm r16-r30, (sp)
|
||||||
addi sp, 72
|
addi sp, 72
|
||||||
mfcr sp, ss0
|
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro SAVE_SWITCH_STACK
|
.macro SAVE_SWITCH_STACK
|
||||||
|
|
Loading…
Reference in New Issue