]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commite0bbb53843b5fdfe464b099217e3b9d97e8a75d7
tree051f4bc65fe08337d910e3e3bcd2f99b69acbacf
parent900897591b2bf01154db8f59f6ecf8d60e60f15e
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