h8300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Родитель
ac416143b0
Коммит
b407e620ec
|
@ -10,6 +10,7 @@ config H8300
|
||||||
select GENERIC_CPU_DEVICES
|
select GENERIC_CPU_DEVICES
|
||||||
select MODULES_USE_ELF_RELA
|
select MODULES_USE_ELF_RELA
|
||||||
select GENERIC_SIGALTSTACK
|
select GENERIC_SIGALTSTACK
|
||||||
|
select OLD_SIGSUSPEND3
|
||||||
|
|
||||||
config SYMBOL_PREFIX
|
config SYMBOL_PREFIX
|
||||||
string
|
string
|
||||||
|
|
|
@ -46,17 +46,6 @@
|
||||||
#include <asm/traps.h>
|
#include <asm/traps.h>
|
||||||
#include <asm/ucontext.h>
|
#include <asm/ucontext.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* Atomically swap in the new signal mask, and wait for a signal.
|
|
||||||
*/
|
|
||||||
asmlinkage int
|
|
||||||
sys_sigsuspend(int unused1, int unused2, old_sigset_t mask)
|
|
||||||
{
|
|
||||||
sigset_t blocked;
|
|
||||||
siginitset(&blocked, mask);
|
|
||||||
return sigsuspend(&blocked);
|
|
||||||
}
|
|
||||||
|
|
||||||
asmlinkage int
|
asmlinkage int
|
||||||
sys_sigaction(int sig, const struct old_sigaction *act,
|
sys_sigaction(int sig, const struct old_sigaction *act,
|
||||||
struct old_sigaction *oact)
|
struct old_sigaction *oact)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче