mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
mn10300: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
b30c7d50af
commit
7d1d990ff1
@ -11,6 +11,7 @@ config MN10300
|
||||
select GENERIC_CLOCKEVENTS
|
||||
select MODULES_USE_ELF_RELA
|
||||
select GENERIC_SIGALTSTACK
|
||||
select OLD_SIGSUSPEND3
|
||||
|
||||
config AM33_2
|
||||
def_bool n
|
||||
|
@ -31,16 +31,6 @@
|
||||
|
||||
#define DEBUG_SIG 0
|
||||
|
||||
/*
|
||||
* atomically swap in the new signal mask, and wait for a signal.
|
||||
*/
|
||||
asmlinkage long sys_sigsuspend(int history0, int history1, old_sigset_t mask)
|
||||
{
|
||||
sigset_t blocked;
|
||||
siginitset(&blocked, mask);
|
||||
return sigsuspend(&blocked);
|
||||
}
|
||||
|
||||
/*
|
||||
* set signal action syscall
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user