[SPARC]: Add support for *at(), ppoll, and pselect syscalls.
This also includes by necessity _TIF_RESTORE_SIGMASK support, which actually resulted in a lot of cleanups. The sparc signal handling code is quite a mess and I should clean it up some day. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@ -1416,7 +1416,6 @@ execve_merge:
|
||||
add %sp, PTREGS_OFF, %o0
|
||||
|
||||
.globl sys_pipe, sys_sigpause, sys_nis_syscall
|
||||
.globl sys_sigsuspend, sys_rt_sigsuspend
|
||||
.globl sys_rt_sigreturn
|
||||
.globl sys_ptrace
|
||||
.globl sys_sigaltstack
|
||||
@ -1440,28 +1439,6 @@ sys32_sigaltstack:
|
||||
mov %i6, %o2
|
||||
#endif
|
||||
.align 32
|
||||
sys_sigsuspend: add %sp, PTREGS_OFF, %o0
|
||||
call do_sigsuspend
|
||||
add %o7, 1f-.-4, %o7
|
||||
nop
|
||||
sys_rt_sigsuspend: /* NOTE: %o0,%o1 have a correct value already */
|
||||
add %sp, PTREGS_OFF, %o2
|
||||
call do_rt_sigsuspend
|
||||
add %o7, 1f-.-4, %o7
|
||||
nop
|
||||
#ifdef CONFIG_COMPAT
|
||||
.globl sys32_rt_sigsuspend
|
||||
sys32_rt_sigsuspend: /* NOTE: %o0,%o1 have a correct value already */
|
||||
srl %o0, 0, %o0
|
||||
add %sp, PTREGS_OFF, %o2
|
||||
call do_rt_sigsuspend32
|
||||
add %o7, 1f-.-4, %o7
|
||||
#endif
|
||||
/* NOTE: %o0 has a correct value already */
|
||||
sys_sigpause: add %sp, PTREGS_OFF, %o1
|
||||
call do_sigpause
|
||||
add %o7, 1f-.-4, %o7
|
||||
nop
|
||||
#ifdef CONFIG_COMPAT
|
||||
.globl sys32_sigreturn
|
||||
sys32_sigreturn:
|
||||
|
Reference in New Issue
Block a user