]> git.baikalelectronics.ru Git - kernel.git/commitdiff
microblaze: Wire-up memfd_create syscall
authorMichal Simek <michal.simek@xilinx.com>
Thu, 21 Aug 2014 08:19:28 +0000 (10:19 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Aug 2014 08:19:28 +0000 (10:19 +0200)
Add new memfd_create syscall.

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

index ad5526ad16704032066b5f92dc57cdd7c0b24218..1c2380bf8fe60850274dce0bdbc9e9bb16cc531f 100644 (file)
 #define __NR_renameat2         383
 #define __NR_seccomp           384
 #define __NR_getrandom         385
+#define __NR_memfd_create      386
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
index c7c806db61cedc5a0ee7083cf3a4247f3cc292a4..de59ee1d7010a788cf916b4ade098375af6214d6 100644 (file)
@@ -386,3 +386,4 @@ ENTRY(sys_call_table)
        .long sys_renameat2
        .long sys_seccomp
        .long sys_getrandom             /* 385 */
+       .long sys_memfd_create