summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-08-21 10:19:28 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-08-21 10:19:28 +0200
commit83c43c498a0a269e8334e53994c75dad8824cca2 (patch)
treea7d286834120d6d0ac923515af6649a0cc259e3d /arch
parent53133453a9f791dff5b6403bc2f1208b474ae792 (diff)
microblaze: Wire-up memfd_create syscall
Add new memfd_create syscall. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/include/uapi/asm/unistd.h1
-rw-r--r--arch/microblaze/kernel/syscall_table.S1
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 @@
#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 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)
.long sys_renameat2
.long sys_seccomp
.long sys_getrandom /* 385 */
+ .long sys_memfd_create