瀏覽代碼

microblaze: Wire-up memfd_create syscall

Add new memfd_create syscall.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 11 年之前
父節點
當前提交
83c43c498a
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      arch/microblaze/include/uapi/asm/unistd.h
  2. 1 0
      arch/microblaze/kernel/syscall_table.S

+ 1 - 0
arch/microblaze/include/uapi/asm/unistd.h

@@ -401,5 +401,6 @@
 #define __NR_renameat2		383
 #define __NR_renameat2		383
 #define __NR_seccomp		384
 #define __NR_seccomp		384
 #define __NR_getrandom		385
 #define __NR_getrandom		385
+#define __NR_memfd_create	386
 
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */

+ 1 - 0
arch/microblaze/kernel/syscall_table.S

@@ -386,3 +386,4 @@ ENTRY(sys_call_table)
 	.long sys_renameat2
 	.long sys_renameat2
 	.long sys_seccomp
 	.long sys_seccomp
 	.long sys_getrandom		/* 385 */
 	.long sys_getrandom		/* 385 */
+	.long sys_memfd_create