]> err.no Git - linux-2.6/commitdiff
[S390] Wire up sys_utimensat.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 21 May 2007 09:25:20 +0000 (11:25 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 21 May 2007 09:25:28 +0000 (11:25 +0200)
Wire up sys_utimensat, reserve syscall number for sys_fallocate and
add a couple of syscalls to the ignore list to get rid of warings.

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 32a69a18a796bc58c57e006d6de6de4a8529cacc..5c7b4b6ab2b202816aa43ca9aa951ab87bbd1c6c 100644 (file)
@@ -1682,3 +1682,11 @@ compat_sys_utimes_wrapper:
        llgtr   %r2,%r2                 # char *
        llgtr   %r3,%r3                 # struct compat_timeval *
        jg      compat_sys_utimes
+
+       .globl  compat_sys_utimensat_wrapper
+compat_sys_utimensat_wrapper:
+       llgfr   %r2,%r2                 # unsigned int
+       llgtr   %r3,%r3                 # char *
+       llgtr   %r4,%r4                 # struct compat_timespec *
+       lgfr    %r5,%r5                 # int
+       jg      compat_sys_utimensat
index cd8d321cd0c27c3350cd793e017eb35f4b896812..1aeae6d839439968136b11ddacfca86be50ddbf9 100644 (file)
@@ -322,3 +322,5 @@ NI_SYSCALL                                                  /* 310 sys_move_pages */
 SYSCALL(sys_getcpu,sys_getcpu,sys_getcpu_wrapper)
 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 */
index 5c6f00d62df8b3582c5975a0623f920571ce45aa..4ed078e47448f9e1ae1444d4487de0e04ac31e5b 100644 (file)
 #define __NR_getcpu            311
 #define __NR_epoll_pwait       312
 #define __NR_utimes            313
-
-#define NR_syscalls 314
+/* Number 314 is reserved for new sys_fallocate */
+#define __NR_utimensat         315
+#define NR_syscalls 316
 
 /* 
  * There are some system calls that are not present on 64 bit, some
 
 #ifdef __KERNEL__
 
+#ifndef CONFIG_64BIT
+#define __IGNORE_select
+#else
+#define __IGNORE_time
+#endif
+
+/* Ignore NUMA system calls. Not wired up on s390. */
+#define __IGNORE_mbind
+#define __IGNORE_get_mempolicy
+#define __IGNORE_set_mempolicy
+#define __IGNORE_migrate_pages
+#define __IGNORE_move_pages
+
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_SYS_ALARM