From: Michal Simek Date: Thu, 21 Aug 2014 08:19:28 +0000 (+0200) Subject: microblaze: Wire-up memfd_create syscall X-Git-Tag: v3.17-rc2~21^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=83c43c498a0a269e8334e53994c75dad8824cca2;p=~emulex%2Finfiniband.git microblaze: Wire-up memfd_create syscall Add new memfd_create syscall. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index ad5526ad167..1c2380bf8fe 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h @@ -401,5 +401,6 @@ #define __NR_renameat2 383 #define __NR_seccomp 384 #define __NR_getrandom 385 +#define __NR_memfd_create 386 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index c7c806db61c..de59ee1d701 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S @@ -386,3 +386,4 @@ ENTRY(sys_call_table) .long sys_renameat2 .long sys_seccomp .long sys_getrandom /* 385 */ + .long sys_memfd_create