All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic syscalls: Wire up statx syscall
@ 2017-03-10 21:51 Stafford Horne
  0 siblings, 0 replies; only message in thread
From: Stafford Horne @ 2017-03-10 21:51 UTC (permalink / raw)
  To: Arnd Bergmann, linux-arch, linux-kernel; +Cc: Stafford Horne

The new syscall statx is implemented as generic code, so enable it
for architectures like openrisc which use the generic syscall table.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
 include/uapi/asm-generic/unistd.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 9b1462e..a076cf1 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,
-- 
2.9.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-10 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10 21:51 [PATCH] generic syscalls: Wire up statx syscall Stafford Horne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.