Wider endianness support

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/os/os-linux.h b/os/os-linux.h
index 8d3b97e..2599091 100644
--- a/os/os-linux.h
+++ b/os/os-linux.h
@@ -295,6 +295,10 @@
 #error "Unknown endianness"
 #endif
 
+#define fio_swap16(x)	__bswap_16(x)
+#define fio_swap32(x)	__bswap_32(x)
+#define fio_swap64(x)	__bswap_64(x)
+
 #define CACHE_LINE_FILE	\
 	"/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size"