diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 13:58:56 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:21 -0500 |
commit | 03e275959850f51754d3952489c36f4b1410856d (patch) | |
tree | 2f5005738d4145ea5198c073a9e4ec8aafe912a3 | |
parent | 47669ab0361558a734e42f78196636d70201e44f (diff) |
tile: switch to generic compat rt_sig{procmask,pending}()
note that the only systems that are going to care are big-endian
64bit ones with 32bit compat enabled - little-endian bitmaps
are not sensitive to granularity.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | arch/tile/Kconfig | 2 | ||||
-rw-r--r-- | include/uapi/asm-generic/unistd.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index dae6ac1eac62..cf33ba4992bb 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -22,6 +22,8 @@ config TILE | |||
22 | select GENERIC_CLOCKEVENTS | 22 | select GENERIC_CLOCKEVENTS |
23 | select MODULES_USE_ELF_RELA | 23 | select MODULES_USE_ELF_RELA |
24 | select GENERIC_SIGALTSTACK | 24 | select GENERIC_SIGALTSTACK |
25 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
26 | select GENERIC_COMPAT_RT_SIGPENDING | ||
25 | 27 | ||
26 | # FIXME: investigate whether we need/want these options. | 28 | # FIXME: investigate whether we need/want these options. |
27 | # select HAVE_IOREMAP_PROT | 29 | # select HAVE_IOREMAP_PROT |
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 2c531f478410..0cc74c4403e4 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h | |||
@@ -402,9 +402,9 @@ __SC_COMP(__NR_rt_sigsuspend, sys_rt_sigsuspend, compat_sys_rt_sigsuspend) | |||
402 | #define __NR_rt_sigaction 134 | 402 | #define __NR_rt_sigaction 134 |
403 | __SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction) | 403 | __SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction) |
404 | #define __NR_rt_sigprocmask 135 | 404 | #define __NR_rt_sigprocmask 135 |
405 | __SYSCALL(__NR_rt_sigprocmask, sys_rt_sigprocmask) | 405 | __SC_COMP(__NR_rt_sigprocmask, sys_rt_sigprocmask, compat_sys_rt_sigprocmask) |
406 | #define __NR_rt_sigpending 136 | 406 | #define __NR_rt_sigpending 136 |
407 | __SYSCALL(__NR_rt_sigpending, sys_rt_sigpending) | 407 | __SC_COMP(__NR_rt_sigpending, sys_rt_sigpending, compat_sys_rt_sigpending) |
408 | #define __NR_rt_sigtimedwait 137 | 408 | #define __NR_rt_sigtimedwait 137 |
409 | __SC_COMP(__NR_rt_sigtimedwait, sys_rt_sigtimedwait, \ | 409 | __SC_COMP(__NR_rt_sigtimedwait, sys_rt_sigtimedwait, \ |
410 | compat_sys_rt_sigtimedwait) | 410 | compat_sys_rt_sigtimedwait) |