summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
authorChandan Rajendra2017-03-16 10:07:11 +0100
committerMichael Ellerman2017-03-16 10:45:53 +0100
commitf717629c7f834ab2efa05c7dbf0826f1d7c32ade (patch)
treeb054b659373ec16ea49424496c416e314e0f641d /arch/powerpc/include/uapi/asm/unistd.h
parentMerge tag 'powerpc-4.11-4' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
downloadkernel-qcow2-linux-f717629c7f834ab2efa05c7dbf0826f1d7c32ade.tar.gz
kernel-qcow2-linux-f717629c7f834ab2efa05c7dbf0826f1d7c32ade.tar.xz
kernel-qcow2-linux-f717629c7f834ab2efa05c7dbf0826f1d7c32ade.zip
powerpc: Wire up statx() syscall
Test runs on a ppc64 BE guest succeeded. linux/samples/statx/test-statx program was executed on the following file types, 1. Regular file 2. Directory 3. device file 4. symlink 5. Named pipe The test run also included invoking test-statx with the runtime options provided in the main() function of test-statx.c Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/uapi/asm/unistd.h')
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 2f26335a3c42..b85f14228857 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -393,5 +393,6 @@
#define __NR_preadv2 380
#define __NR_pwritev2 381
#define __NR_kexec_file_load 382
+#define __NR_statx 383
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */