diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-21 04:19:28 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-08-21 04:19:28 -0400 |
commit | 83c43c498a0a269e8334e53994c75dad8824cca2 (patch) | |
tree | a7d286834120d6d0ac923515af6649a0cc259e3d | |
parent | 53133453a9f791dff5b6403bc2f1208b474ae792 (diff) |
microblaze: Wire-up memfd_create syscall
Add new memfd_create syscall.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/microblaze/kernel/syscall_table.S | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index ad5526ad1670..1c2380bf8fe6 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h | |||
@@ -401,5 +401,6 @@ | |||
401 | #define __NR_renameat2 383 | 401 | #define __NR_renameat2 383 |
402 | #define __NR_seccomp 384 | 402 | #define __NR_seccomp 384 |
403 | #define __NR_getrandom 385 | 403 | #define __NR_getrandom 385 |
404 | #define __NR_memfd_create 386 | ||
404 | 405 | ||
405 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ | 406 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index c7c806db61ce..de59ee1d7010 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S | |||
@@ -386,3 +386,4 @@ ENTRY(sys_call_table) | |||
386 | .long sys_renameat2 | 386 | .long sys_renameat2 |
387 | .long sys_seccomp | 387 | .long sys_seccomp |
388 | .long sys_getrandom /* 385 */ | 388 | .long sys_getrandom /* 385 */ |
389 | .long sys_memfd_create | ||