]> 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)
commit5109063bc881cdc6b7714b4dbe4ba3e359812715
tree051f4bc65fe08337d910e3e3bcd2f99b69acbacf
parent552d851290ed4e58f70e59411ae49e22ff83322d
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