2006-10-18 16:25:48

by Martin Schwidefsky

[permalink] [raw]
Subject: [S390] Wire up epoll_pwait syscall.

From: Heiko Carstens <[email protected]>

[S390] Wire up epoll_pwait syscall.

Signed-off-by: Heiko Carstens <[email protected]>
---

arch/s390/kernel/syscalls.S | 1 +
include/asm-s390/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff -urpN linux-2.6/arch/s390/kernel/syscalls.S linux-2.6-patched/arch/s390/kernel/syscalls.S
--- linux-2.6/arch/s390/kernel/syscalls.S 2006-10-18 17:12:28.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/syscalls.S 2006-10-18 17:12:52.000000000 +0200
@@ -320,3 +320,4 @@ SYSCALL(sys_tee,sys_tee,sys_tee_wrapper)
SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice_wrapper)
NI_SYSCALL /* 310 sys_move_pages */
SYSCALL(sys_getcpu,sys_getcpu,sys_getcpu_wrapper)
+SYSCALL(sys_epoll_pwait,sys_epoll_pwait,sys_ni_syscall)
diff -urpN linux-2.6/include/asm-s390/unistd.h linux-2.6-patched/include/asm-s390/unistd.h
--- linux-2.6/include/asm-s390/unistd.h 2006-10-18 17:12:41.000000000 +0200
+++ linux-2.6-patched/include/asm-s390/unistd.h 2006-10-18 17:12:52.000000000 +0200
@@ -249,8 +249,9 @@
#define __NR_vmsplice 309
/* Number 310 is reserved for new sys_move_pages */
#define __NR_getcpu 311
+#define __NR_epoll_pwait 312

-#define NR_syscalls 312
+#define NR_syscalls 313

/*
* There are some system calls that are not present on 64 bit, some