summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-12-31 15:38:56 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-31 15:38:56 -0500
commit42d85c52f88dd0d2159f531eb33cc66d6e3e60c0 (patch)
treed916987c3d5f03817de8130ae560046c9c823728 /arch/sparc/include
parent8b30ca73b7cc7f2177cfc4e8274d2ebdba328cd5 (diff)
sparc: Wire up mlock2 system call.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-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 5655912fbca7..1c26d440d288 100644
--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -421,8 +421,9 @@
#define __NR_bind 353
#define __NR_listen 354
#define __NR_setsockopt 355
+#define __NR_mlock2 356
-#define NR_syscalls 356
+#define NR_syscalls 357
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001