]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] Wire up signald, timerfd and eventfd syscalls.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 21 May 2007 09:25:21 +0000 (11:25 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 21 May 2007 09:25:28 +0000 (11:25 +0200)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/syscalls.S
include/asm-s390/unistd.h

index 5c7b4b6ab2b202816aa43ca9aa951ab87bbd1c6c..acc415457b45ac0f05ec565a00c637569231564f 100644 (file)
@@ -1690,3 +1690,23 @@ compat_sys_utimensat_wrapper:
        llgtr   %r4,%r4                 # struct compat_timespec *
        lgfr    %r5,%r5                 # int
        jg      compat_sys_utimensat
+
+       .globl  compat_sys_signalfd_wrapper
+compat_sys_signalfd_wrapper:
+       lgfr    %r2,%r2                 # int
+       llgtr   %r3,%r3                 # compat_sigset_t *
+       llgfr   %r4,%r4                 # compat_size_t
+       jg      compat_sys_signalfd
+
+       .globl  compat_sys_timerfd_wrapper
+compat_sys_timerfd_wrapper:
+       lgfr    %r2,%r2                 # int
+       lgfr    %r3,%r3                 # int
+       lgfr    %r4,%r4                 # int
+       llgtr   %r5,%r5                 # struct compat_itimerspec *
+       jg      compat_sys_timerfd
+
+       .globl  sys_eventfd_wrapper
+sys_eventfd_wrapper:
+       llgfr   %r2,%r2                 # unsigned int
+       jg      sys_eventfd
index 1aeae6d839439968136b11ddacfca86be50ddbf9..738feb4a0aadf4e575aa9cacee96b32c069ad7b2 100644 (file)
@@ -324,3 +324,6 @@ SYSCALL(sys_epoll_pwait,sys_epoll_pwait,compat_sys_epoll_pwait_wrapper)
 SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes_wrapper)
 NI_SYSCALL                                                     /* 314 sys_fallocate */
 SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat_wrapper)      /* 315 */
+SYSCALL(sys_signalfd,sys_signalfd,compat_sys_signalfd_wrapper)
+SYSCALL(sys_timerfd,sys_timerfd,compat_sys_timerfd_wrapper)
+SYSCALL(sys_eventfd,sys_eventfd,sys_eventfd_wrapper)
index 4ed078e47448f9e1ae1444d4487de0e04ac31e5b..790c1c557417bb1330662399350f71fe4b6f05b4 100644 (file)
 #define __NR_utimes            313
 /* Number 314 is reserved for new sys_fallocate */
 #define __NR_utimensat         315
-#define NR_syscalls 316
+#define __NR_signalfd          316
+#define __NR_timerfd           317
+#define __NR_eventfd           318
+#define NR_syscalls 319
 
 /* 
  * There are some system calls that are not present on 64 bit, some