Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=913f11ee48edfa78b531e0db9385b640fbf9f6d7
Commit:     913f11ee48edfa78b531e0db9385b640fbf9f6d7
Parent:     fd5d8bf03a9843ec3cdb10c820f409aa04048b52
Author:     Heiko Carstens <[EMAIL PROTECTED]>
AuthorDate: Mon May 21 11:25:21 2007 +0200
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Mon May 21 11:25:28 2007 +0200

    [S390] Wire up signald, timerfd and eventfd syscalls.
    
    Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 arch/s390/kernel/compat_wrapper.S |   20 ++++++++++++++++++++
 arch/s390/kernel/syscalls.S       |    3 +++
 include/asm-s390/unistd.h         |    5 ++++-
 3 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/arch/s390/kernel/compat_wrapper.S 
b/arch/s390/kernel/compat_wrapper.S
index 5c7b4b6..acc4154 100644
--- a/arch/s390/kernel/compat_wrapper.S
+++ b/arch/s390/kernel/compat_wrapper.S
@@ -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
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
index 1aeae6d..738feb4 100644
--- a/arch/s390/kernel/syscalls.S
+++ b/arch/s390/kernel/syscalls.S
@@ -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)
diff --git a/include/asm-s390/unistd.h b/include/asm-s390/unistd.h
index 4ed078e..790c1c5 100644
--- a/include/asm-s390/unistd.h
+++ b/include/asm-s390/unistd.h
@@ -253,7 +253,10 @@
 #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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to