]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup CONFIG_DEBUG_RSEQ
authorGuo Ren <guoren@linux.alibaba.com>
Tue, 26 May 2020 06:34:50 +0000 (06:34 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Thu, 28 May 2020 00:18:36 +0000 (00:18 +0000)
commitb86d7da7079cab682cf6583703266d16cb9c746f
tree9ec466f324249340f04d4123a024411c539fff4b
parent87fb24aa7e06e2f360c7af9c7194f3ec779c1f33
csky: Fixup CONFIG_DEBUG_RSEQ

Put the rseq_syscall check point at the prologue of the syscall
will break the a0 ... a7. This will casue system call bug when
DEBUG_RSEQ is enabled.

So move it to the epilogue of syscall, but before syscall_trace.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/kernel/entry.S