summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorMike Kravetz <mike.kravetz@oracle.com>2015-11-20 15:54:06 -0800
committerDavid S. Miller <davem@davemloft.net>2015-12-23 15:41:13 -0500
commit9bcfd78ac0d19ef4c14b8b37eded26e5b3299e41 (patch)
treed04fb9815cad91968d00fd24d03da795d5cd98f5 /arch/sparc/include
parent73796d8bf27372e26c2b79881947304c14c2d353 (diff)
downloadlinux-9bcfd78ac0d19ef4c14b8b37eded26e5b3299e41.tar.gz
sparc: Hook up userfaultfd system call
After hooking up system call, userfaultfd selftest was successful for both 32 and 64 bit version of test. Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com> 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 efe9479f837b..f31a124a8497 100644
--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -417,8 +417,9 @@
#define __NR_bpf 349
#define __NR_execveat 350
#define __NR_membarrier 351
+#define __NR_userfaultfd 352
-#define NR_syscalls 352
+#define NR_syscalls 353
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001