m68k: Wire up memfd_create
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Aug 2014 19:42:49 +0000 (21:42 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 1 Sep 2014 08:28:00 +0000 (10:28 +0200)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/unistd.h
arch/m68k/include/uapi/asm/unistd.h
arch/m68k/kernel/syscalltable.S

index fbf8792f4179b731d75f5a8349af90536352c74b..4ef7a54813e6b72d88a0d40109a26347b91aa7c6 100644 (file)
@@ -4,7 +4,7 @@
 #include <uapi/asm/unistd.h>
 
 
-#define NR_syscalls            353
+#define NR_syscalls            354
 
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_OLD_STAT
index e906e3c1542e046516ca36435856794e981c8285..b419c6b7ac3739b150000dfd13aff28d3dcc372a 100644 (file)
 #define __NR_sched_getattr     350
 #define __NR_renameat2         351
 #define __NR_getrandom         352
+#define __NR_memfd_create      353
 
 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */
index 9307b488ce148621a9db60f81834b97671542a23..05b46c2b08b8d8d4be26c56e8be4d245cef3dab6 100644 (file)
@@ -373,4 +373,5 @@ ENTRY(sys_call_table)
        .long sys_sched_getattr         /* 350 */
        .long sys_renameat2
        .long sys_getrandom
+       .long sys_memfd_create