]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup abiv2 syscall_trace break a4 & a5
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 24 May 2020 10:44:38 +0000 (10:44 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Thu, 28 May 2020 00:18:36 +0000 (00:18 +0000)
commit859f156b927fe99238e0700053ff06f7252d8fce
tree051f4bc65fe08337d910e3e3bcd2f99b69acbacf
parentd90ba4547ad1d401c5e3c6892cb51d0c8bf45e81
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>
arch/csky/abiv2/inc/abi/entry.h
arch/csky/kernel/entry.S