frv: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
fe76141671
commit
39e08a9bae
|
@ -13,6 +13,7 @@ config FRV
|
||||||
select GENERIC_CPU_DEVICES
|
select GENERIC_CPU_DEVICES
|
||||||
select ARCH_WANT_IPC_PARSE_VERSION
|
select ARCH_WANT_IPC_PARSE_VERSION
|
||||||
select GENERIC_SIGALTSTACK
|
select GENERIC_SIGALTSTACK
|
||||||
|
select OLD_SIGSUSPEND3
|
||||||
|
|
||||||
config ZONE_DMA
|
config ZONE_DMA
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -32,16 +32,6 @@ struct fdpic_func_descriptor {
|
||||||
unsigned long GOT;
|
unsigned long GOT;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* Atomically swap in the new signal mask, and wait for a signal.
|
|
||||||
*/
|
|
||||||
asmlinkage int sys_sigsuspend(int history0, int history1, old_sigset_t mask)
|
|
||||||
{
|
|
||||||
sigset_t blocked;
|
|
||||||
siginitset(&blocked, mask);
|
|
||||||
return sigsuspend(&blocked);
|
|
||||||
}
|
|
||||||
|
|
||||||
asmlinkage int sys_sigaction(int sig,
|
asmlinkage int sys_sigaction(int sig,
|
||||||
const struct old_sigaction __user *act,
|
const struct old_sigaction __user *act,
|
||||||
struct old_sigaction __user *oact)
|
struct old_sigaction __user *oact)
|
||||||
|
|
Loading…
Reference in New Issue