diff options
author | Mike Kravetz <mike.kravetz@oracle.com> | 2015-11-20 15:54:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-23 15:41:13 -0500 |
commit | 9bcfd78ac0d19ef4c14b8b37eded26e5b3299e41 (patch) | |
tree | d04fb9815cad91968d00fd24d03da795d5cd98f5 /arch/sparc/include | |
parent | 73796d8bf27372e26c2b79881947304c14c2d353 (diff) | |
download | op-kernel-dev-9bcfd78ac0d19ef4c14b8b37eded26e5b3299e41.zip op-kernel-dev-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.h | 3 |
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 efe9479..f31a124 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 |