Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b68fec24 authored by Al Viro's avatar Al Viro
Browse files

arm: switch to generic old sigsuspend



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ec93ac86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ config ARM
	select MODULES_USE_ELF_REL
	select CLONE_BACKWARDS
	select GENERIC_SIGALTSTACK
	select OLD_SIGSUSPEND3
	help
	  The ARM series is a line of low-power-consumption RISC chip designs
	  licensed by ARM Ltd and targeted at embedded applications and
+0 −10
Original line number Diff line number Diff line
@@ -45,16 +45,6 @@ const unsigned long sigreturn_codes[7] = {
	MOV_R7_NR_RT_SIGRETURN, SWI_SYS_RT_SIGRETURN, SWI_THUMB_RT_SIGRETURN,
};

/*
 * atomically swap in the new signal mask, and wait for a signal.
 */
asmlinkage int sys_sigsuspend(int restart, unsigned long oldmask, old_sigset_t mask)
{
	sigset_t blocked;
	siginitset(&blocked, mask);
	return sigsuspend(&blocked);
}

asmlinkage int 
sys_sigaction(int sig, const struct old_sigaction __user *act,
	      struct old_sigaction __user *oact)