mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
HAVE_RESTORE_SIGMASK is defined on all architectures now
Everyone either defines it in arch thread_info.h or has TIF_RESTORE_SIGMASK and picks default set_restore_sigmask() in linux/thread_info.h. Kill the ifdefs, slap #error in linux/thread_info.h to catch breakage when new ones get merged. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
fb21affa49
commit
754421c8ca
5 changed files with 4 additions and 14 deletions
|
|
@ -3235,7 +3235,6 @@ SYSCALL_DEFINE0(pause)
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SET_RESTORE_SIGMASK
|
||||
int sigsuspend(sigset_t *set)
|
||||
{
|
||||
sigdelsetmask(set, sigmask(SIGKILL)|sigmask(SIGSTOP));
|
||||
|
|
@ -3248,7 +3247,6 @@ int sigsuspend(sigset_t *set)
|
|||
set_restore_sigmask();
|
||||
return -ERESTARTNOHAND;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue