Linux kernel commit
f717629c7f834ab2efa05c7dbf0826f1d7c32ade (powerpc:
Wire up statx() syscall) added support for statx syscall for PowerPC
architecture. This commit enables using 'statx' sub-command of xfs_io to
be used on PowerPC.
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
#endif
#ifndef __NR_statx
-# ifdef __i386__
+# if defined(__i386__) || defined(__powerpc__)
# define __NR_statx 383
# elif defined (__x86_64__)
# if defined (__ILP32__)