From: Jens Axboe Date: Tue, 4 Oct 2011 21:54:28 +0000 (+0200) Subject: Assume AIX is big endian X-Git-Tag: fio-1.99~11 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a9df7070ea889f7ad439a605cb1ac412f75f511e;p=fio.git Assume AIX is big endian Probably lots of PPC boxes on AIX out there than Intel... Signed-off-by: Jens Axboe --- diff --git a/os/os-aix.h b/os/os-aix.h index 91c8bcda..ccf3bb2c 100644 --- a/os/os-aix.h +++ b/os/os-aix.h @@ -25,6 +25,10 @@ #define OS_MAP_ANON MAP_ANON #define OS_MSG_DONTWAIT 0 +#warning "Assuming big endian on AIX, fix me up" +#define FIO_BIG_ENDIAN +#define FIO_USE_GENERIC_SWAP + static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL;