mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
csky: remove syscall_exit_work
Remove syscall_exit_work and union all to ret_from_exception. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
This commit is contained in:
parent
35ff802af1
commit
31295a72b5
1 changed files with 4 additions and 12 deletions
|
@ -183,18 +183,10 @@ ENTRY(csky_systemcall)
|
||||||
#endif
|
#endif
|
||||||
stw a0, (sp, LSAVE_A0) /* Save return value */
|
stw a0, (sp, LSAVE_A0) /* Save return value */
|
||||||
|
|
||||||
movi a0, 1 /* leave system call */
|
movi a0, 1 /* leave system call */
|
||||||
mov a1, sp /* sp = pt_regs pointer */
|
mov a1, sp /* right now, sp --> pt_regs */
|
||||||
jbsr syscall_trace
|
jbsr syscall_trace
|
||||||
|
br ret_from_exception
|
||||||
syscall_exit_work:
|
|
||||||
ld syscallid, (sp, LSAVE_PSR)
|
|
||||||
btsti syscallid, 31
|
|
||||||
bt 2f
|
|
||||||
|
|
||||||
jmpi resume_userspace
|
|
||||||
|
|
||||||
2: RESTORE_ALL
|
|
||||||
|
|
||||||
ENTRY(ret_from_kernel_thread)
|
ENTRY(ret_from_kernel_thread)
|
||||||
jbsr schedule_tail
|
jbsr schedule_tail
|
||||||
|
|
Loading…
Reference in a new issue