diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-25 23:12:10 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 15:09:18 -0500 |
commit | eaca6eae3e0c41d41fcb9d1d70e00934988dff2e (patch) | |
tree | ad1fc38c1a76d2eadccb0cd591151b09a270fc57 /kernel | |
parent | 377840744bea59aacd524f496dc577463f94584b (diff) |
sanitize rt_sigaction() situation a bit
Switch from __ARCH_WANT_SYS_RT_SIGACTION to opposite
(!CONFIG_ODD_RT_SIGACTION); the only two architectures that
need it are alpha and sparc. The reason for use of CONFIG_...
instead of __ARCH_... is that it's needed only kernel-side
and doing it that way avoids a mess with include order on many
architectures.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 53cd5c4d1172..00cd1ce998be 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -3231,7 +3231,7 @@ SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, nset, | |||
3231 | } | 3231 | } |
3232 | #endif /* __ARCH_WANT_SYS_SIGPROCMASK */ | 3232 | #endif /* __ARCH_WANT_SYS_SIGPROCMASK */ |
3233 | 3233 | ||
3234 | #ifdef __ARCH_WANT_SYS_RT_SIGACTION | 3234 | #ifndef CONFIG_ODD_RT_SIGACTION |
3235 | /** | 3235 | /** |
3236 | * sys_rt_sigaction - alter an action taken by a process | 3236 | * sys_rt_sigaction - alter an action taken by a process |
3237 | * @sig: signal to be sent | 3237 | * @sig: signal to be sent |
@@ -3265,7 +3265,7 @@ SYSCALL_DEFINE4(rt_sigaction, int, sig, | |||
3265 | out: | 3265 | out: |
3266 | return ret; | 3266 | return ret; |
3267 | } | 3267 | } |
3268 | #endif /* __ARCH_WANT_SYS_RT_SIGACTION */ | 3268 | #endif /* !CONFIG_ODD_RT_SIGACTION */ |
3269 | 3269 | ||
3270 | #ifdef __ARCH_WANT_SYS_SGETMASK | 3270 | #ifdef __ARCH_WANT_SYS_SGETMASK |
3271 | 3271 | ||