From: Geert Uytterhoeven Date: Mon, 11 Aug 2014 19:42:49 +0000 (+0200) Subject: m68k: Wire up memfd_create X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4ed7800987b1b082f8fc98c5cb7eb20cf74280a8;p=linux-beck.git m68k: Wire up memfd_create Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h index fbf8792f4179..4ef7a54813e6 100644 --- a/arch/m68k/include/asm/unistd.h +++ b/arch/m68k/include/asm/unistd.h @@ -4,7 +4,7 @@ #include -#define NR_syscalls 353 +#define NR_syscalls 354 #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_STAT diff --git a/arch/m68k/include/uapi/asm/unistd.h b/arch/m68k/include/uapi/asm/unistd.h index e906e3c1542e..b419c6b7ac37 100644 --- a/arch/m68k/include/uapi/asm/unistd.h +++ b/arch/m68k/include/uapi/asm/unistd.h @@ -358,5 +358,6 @@ #define __NR_sched_getattr 350 #define __NR_renameat2 351 #define __NR_getrandom 352 +#define __NR_memfd_create 353 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */ diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S index 9307b488ce14..05b46c2b08b8 100644 --- a/arch/m68k/kernel/syscalltable.S +++ b/arch/m68k/kernel/syscalltable.S @@ -373,4 +373,5 @@ ENTRY(sys_call_table) .long sys_sched_getattr /* 350 */ .long sys_renameat2 .long sys_getrandom + .long sys_memfd_create