From: chandan Date: Tue, 2 May 2017 16:12:52 +0000 (-0500) Subject: xfs_io: Add statx support for PowerPC architecture X-Git-Tag: v4.11.0-rc2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a7aa05a1069e1671c3b58d25a0874f83be5c459;p=thirdparty%2Fxfsprogs-dev.git xfs_io: Add statx support for PowerPC architecture 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 Reviewed-by: Christoph Hellwig Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/io/statx.h b/io/statx.h index eea7944e7..14361a88d 100644 --- a/io/statx.h +++ b/io/statx.h @@ -16,7 +16,7 @@ #endif #ifndef __NR_statx -# ifdef __i386__ +# if defined(__i386__) || defined(__powerpc__) # define __NR_statx 383 # elif defined (__x86_64__) # if defined (__ILP32__)