[S390] Wire up sys_utimes.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 19 Mar 2007 12:19:07 +0000 (13:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 19 Mar 2007 12:19:07 +0000 (13:19 +0100)
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 4f7a2e41b8a5b6679b6627b19cf683ee02024582..32a69a18a796bc58c57e006d6de6de4a8529cacc 100644 (file)
@@ -1676,3 +1676,9 @@ compat_sys_epoll_pwait_wrapper:
        llgf    %r0,164(%r15)           # compat_size_t
        stg     %r0,160(%r15)
        jg      compat_sys_epoll_pwait
+
+       .globl  compat_sys_utimes_wrapper
+compat_sys_utimes_wrapper:
+       llgtr   %r2,%r2                 # char *
+       llgtr   %r3,%r3                 # struct compat_timeval *
+       jg      compat_sys_utimes
index a35c3d637218c84777d52a23a97ab514932d0026..c774f1069e109bda9e0baa4dc9f561669d5afaa6 100644 (file)
@@ -321,3 +321,4 @@ 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,compat_sys_epoll_pwait_wrapper)
+SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes_wrapper)
index fb6fef97d739c55e5ff32bf1eca477c4697a35e8..5c6f00d62df8b3582c5975a0623f920571ce45aa 100644 (file)
 /* Number 310 is reserved for new sys_move_pages */
 #define __NR_getcpu            311
 #define __NR_epoll_pwait       312
+#define __NR_utimes            313
 
-#define NR_syscalls 313
+#define NR_syscalls 314
 
 /* 
  * There are some system calls that are not present on 64 bit, some