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)
commitf36e0aab6f1f78d770ce859df3f07a9c5763ce5f
tree9ec466f324249340f04d4123a024411c539fff4b
parent20f69538b9ab7175e1474a73e2793b8278846e1e
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