diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-05-24 12:44:38 +0200 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-05-28 02:18:36 +0200 |
commit | e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 (patch) | |
tree | 051f4bc65fe08337d910e3e3bcd2f99b69acbacf /arch/csky/abiv2/inc | |
parent | csky: Fixup CONFIG_PREEMPT panic (diff) | |
download | linux-e0bbb53843b5fdfe464b099217e3b9d97e8a75d7.tar.xz linux-e0bbb53843b5fdfe464b099217e3b9d97e8a75d7.zip |
csky: Fixup abiv2 syscall_trace break a4 & a5
Current implementation could destory a4 & a5 when strace, so we need to get them
from pt_regs by SAVE_ALL.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/abiv2/inc')
-rw-r--r-- | arch/csky/abiv2/inc/abi/entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/abiv2/inc/abi/entry.h b/arch/csky/abiv2/inc/abi/entry.h index 698df2f294be..6ee71bfc512a 100644 --- a/arch/csky/abiv2/inc/abi/entry.h +++ b/arch/csky/abiv2/inc/abi/entry.h @@ -13,6 +13,8 @@ #define LSAVE_A1 28 #define LSAVE_A2 32 #define LSAVE_A3 36 +#define LSAVE_A4 40 +#define LSAVE_A5 44 #define KSPTOUSP #define USPTOKSP |