diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-07-28 16:18:54 +0000 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-07-31 01:51:48 +0000 |
commit | f788bb2fb915a79eae0a160580766ba52984d61f (patch) | |
tree | 92ab5442e1ba21347b9f384a93cea7b0f5cad891 /arch/csky | |
parent | 8077e66bc381988d0ef6f60d2eb71d8812b26333 (diff) | |
download | linux-f788bb2fb915a79eae0a160580766ba52984d61f.tar.bz2 |
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>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/abiv2/inc/abi/entry.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/csky/abiv2/inc/abi/entry.h b/arch/csky/abiv2/inc/abi/entry.h index 4fdd6c12e7ff..bedcc6f06bba 100644 --- a/arch/csky/abiv2/inc/abi/entry.h +++ b/arch/csky/abiv2/inc/abi/entry.h @@ -136,8 +136,6 @@ .macro RESTORE_REGS_FTRACE ldw tls, (sp, 0) - ldw a0, (sp, 16) - mtcr a0, ss0 #ifdef CONFIG_CPU_HAS_HILO ldw a0, (sp, 140) @@ -158,7 +156,6 @@ addi sp, 40 ldm r16-r30, (sp) addi sp, 72 - mfcr sp, ss0 .endm .macro SAVE_SWITCH_STACK |