tile: switch to generic compat rt_sig{procmask,pending}()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 25 Dec 2012 18:58:56 +0000 (13:58 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:21 +0000 (18:16 -0500)
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>
arch/tile/Kconfig
include/uapi/asm-generic/unistd.h

index dae6ac1eac62032b95f8dabbbb72f66d65efae10..cf33ba4992bbbe6bfcb8b73fb357d9cf53f4b65d 100644 (file)
@@ -22,6 +22,8 @@ config TILE
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
        select GENERIC_SIGALTSTACK
+       select GENERIC_COMPAT_RT_SIGPROCMASK
+       select GENERIC_COMPAT_RT_SIGPENDING
 
 # FIXME: investigate whether we need/want these options.
 #      select HAVE_IOREMAP_PROT
index 2c531f478410b056f2d07ee7ac5b12f6c7c943d7..0cc74c4403e446c8ecc5a1bd9fd8f5f19b3ae0dc 100644 (file)
@@ -402,9 +402,9 @@ __SC_COMP(__NR_rt_sigsuspend, sys_rt_sigsuspend, compat_sys_rt_sigsuspend)
 #define __NR_rt_sigaction 134
 __SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction)
 #define __NR_rt_sigprocmask 135
-__SYSCALL(__NR_rt_sigprocmask, sys_rt_sigprocmask)
+__SC_COMP(__NR_rt_sigprocmask, sys_rt_sigprocmask, compat_sys_rt_sigprocmask)
 #define __NR_rt_sigpending 136
-__SYSCALL(__NR_rt_sigpending, sys_rt_sigpending)
+__SC_COMP(__NR_rt_sigpending, sys_rt_sigpending, compat_sys_rt_sigpending)
 #define __NR_rt_sigtimedwait 137
 __SC_COMP(__NR_rt_sigtimedwait, sys_rt_sigtimedwait, \
          compat_sys_rt_sigtimedwait)