summaryrefslogtreecommitdiff
path: root/arch/sparc/include/uapi
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-08-14 09:00:09 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-14 09:00:09 +0400
commit10cf15e1d1289aa0bf1d26e9f55176b4c7c5c512 (patch)
treef5e3127632889c170b25ac6583c90a8c3d002d72 /arch/sparc/include/uapi
parentf1d25d37d316b8af202e51a4f82df01e12fe2661 (diff)
downloadlinux-10cf15e1d1289aa0bf1d26e9f55176b4c7c5c512.tar.xz
sparc: Hook up memfd_create system call.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/uapi')
-rw-r--r--arch/sparc/include/uapi/asm/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/include/uapi/asm/unistd.h b/arch/sparc/include/uapi/asm/unistd.h
index 886cab456e1b..c842a89b1190 100644
--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -413,8 +413,9 @@
#define __NR_renameat2 345
#define __NR_seccomp 346
#define __NR_getrandom 347
+#define __NR_memfd_create 348
-#define NR_syscalls 348
+#define NR_syscalls 349
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001