projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba13ea
)
Assume AIX is big endian
author
Jens Axboe
<axboe@kernel.dk>
Tue, 4 Oct 2011 21:54:28 +0000
(23:54 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/os/os-aix.h
b/os/os-aix.h
index 91c8bcda84d572f76b04fe5f12589430ca4252cd..ccf3bb2ca280a15bc97078d8a1662e1dd3784066 100644
(file)
--- 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;