diff options
author | David Woodhouse | 2006-01-19 02:43:57 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-01-19 04:20:29 +0100 |
commit | 150256d8aadb3a337c31efa9e175cbd25bf06b06 (patch) | |
tree | 8cd7e2a0bc6af23984682c5ea3ca687809580c5a /include/linux/sched.h | |
parent | [PATCH] vfs: *at functions: x86_64 (diff) | |
download | kernel-qcow2-linux-150256d8aadb3a337c31efa9e175cbd25bf06b06.tar.gz kernel-qcow2-linux-150256d8aadb3a337c31efa9e175cbd25bf06b06.tar.xz kernel-qcow2-linux-150256d8aadb3a337c31efa9e175cbd25bf06b06.zip |
[PATCH] Generic sys_rt_sigsuspend()
The TIF_RESTORE_SIGMASK flag allows us to have a generic implementation of
sys_rt_sigsuspend() instead of duplicating it for each architecture. This
provides such an implementation and makes arch/powerpc use it.
It also tidies up the ppc32 sys_sigsuspend() to use TIF_RESTORE_SIGMASK.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 2df1a1a2fee5..0cfcd1c7865e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -809,6 +809,7 @@ struct task_struct { struct sighand_struct *sighand; sigset_t blocked, real_blocked; + sigset_t saved_sigmask; /* To be restored with TIF_RESTORE_SIGMASK */ struct sigpending pending; unsigned long sas_ss_sp; |