Assume AIX is big endian
authorJens Axboe <axboe@kernel.dk>
Tue, 4 Oct 2011 21:54:28 +0000 (23:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Oct 2011 21:54:28 +0000 (23:54 +0200)
Probably lots of PPC boxes on AIX out there than Intel...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-aix.h

index 91c8bcda84d572f76b04fe5f12589430ca4252cd..ccf3bb2ca280a15bc97078d8a1662e1dd3784066 100644 (file)
 #define OS_MAP_ANON            MAP_ANON
 #define OS_MSG_DONTWAIT                0
 
 #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;
 static inline int blockdev_invalidate_cache(struct fio_file *f)
 {
        return EINVAL;