summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic/unistd.h
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-03-13 17:45:21 +0300
committerWill Deacon <will.deacon@arm.com>2017-03-20 15:32:37 +0300
commitfdfe4a393e9cd8c92f4489ca207d410f44d05043 (patch)
tree7f93086008fd32c4b26a925c2f37974c7d539630 /include/uapi/asm-generic/unistd.h
parent97da3854c526d3a6ee05c849c96e48d21527606c (diff)
downloadlinux-fdfe4a393e9cd8c92f4489ca207d410f44d05043.tar.xz
generic syscalls: Wire up statx syscall
The new syscall statx is implemented as generic code, so enable it for architectures like openrisc which use the generic syscall table. Fixes: a528d35e8bfcc ("statx: Add a system call to make enhanced file info available") Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: David Howells <dhowells@redhat.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/uapi/asm-generic/unistd.h')
-rw-r--r--include/uapi/asm-generic/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 9b1462e38b82..a076cf1a3a23 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -730,9 +730,11 @@ __SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect)
__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc)
#define __NR_pkey_free 290
__SYSCALL(__NR_pkey_free, sys_pkey_free)
+#define __NR_statx 291
+__SYSCALL(__NR_statx, sys_statx)
#undef __NR_syscalls
-#define __NR_syscalls 291
+#define __NR_syscalls 292
/*
* All syscalls below here should go away really,