microblaze: Wire up userfaultfd, membarrier, mlock2 syscalls
authorMichal Simek <michal.simek@xilinx.com>
Mon, 16 Nov 2015 07:53:38 +0000 (08:53 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 16 May 2016 07:18:01 +0000 (09:18 +0200)
Wire up new syscalls userfaultfd, membarrier and mlock2.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/uapi/asm/unistd.h
arch/microblaze/kernel/syscall_table.S

index 76ed17b..805ae5d 100644 (file)
@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         389
+#define __NR_syscalls         392
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
index 32850c7..a8bd3fa 100644 (file)
 #define __NR_memfd_create      386
 #define __NR_bpf               387
 #define __NR_execveat          388
+#define __NR_userfaultfd       389
+#define __NR_membarrier                390
+#define __NR_mlock2            391
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
index 29c8568..6b3dd99 100644 (file)
@@ -389,3 +389,6 @@ ENTRY(sys_call_table)
        .long sys_memfd_create
        .long sys_bpf
        .long sys_execveat
+       .long sys_userfaultfd
+       .long sys_membarrier            /* 390 */
+       .long sys_mlock2