]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
[S390] wire up sys_name_to_handle_at
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 23 Mar 2011 09:15:55 +0000 (10:15 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 23 Mar 2011 09:15:58 +0000 (10:15 +0100)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/unistd.h
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/syscalls.S

index 1049ef27c15e83bb30092efc67c3517433e2bfe4..80f27c9f720267e20a902d1c278151c0937fe834 100644 (file)
 #define __NR_fanotify_init     332
 #define __NR_fanotify_mark     333
 #define __NR_prlimit64         334
-#define NR_syscalls 335
+#define __NR_name_to_handle_at 335
+#define NR_syscalls 336
 
 /* 
  * There are some system calls that are not present on 64 bit, some
index 8e60fb23b90da9d61587c72938b785881683de93..364ed14406bb98d659c05846c15f4eef326c6bf3 100644 (file)
@@ -1877,3 +1877,12 @@ sys_prlimit64_wrapper:
        llgtr   %r4,%r4                 # const struct rlimit64 __user *
        llgtr   %r5,%r5                 # struct rlimit64 __user *
        jg      sys_prlimit64           # branch to system call
+
+       .globl  sys_name_to_handle_at_wrapper
+sys_name_to_handle_at_wrapper:
+       lgfr    %r2,%r2                 # int
+       llgtr   %r3,%r3                 # const char __user *
+       llgtr   %r4,%r4                 # struct file_handle __user *
+       llgtr   %r5,%r5                 # int __user *
+       lgfr    %r6,%r6                 # int
+       jg      sys_name_to_handle_at
index a8fee1b14395a1472a5d8fa2f34f1ed34eafb4c8..1230c6e75a8480b97cd2de627628ae1c7d7912f2 100644 (file)
@@ -343,3 +343,4 @@ SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper)
 SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
 SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
 SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
+SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */