X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-hpux.h;h=515a5256878a1d57f6f2fb651f05c2fa66b2af7b;hb=35e2d88fad2151f272af60babb5e6c98922d0bcd;hp=266f0f1fb9b5152cbece81591b2d4e17107d7686;hpb=37adbfc4e189873d1d02c145b81c779971ef5337;p=fio.git diff --git a/os/os-hpux.h b/os/os-hpux.h index 266f0f1f..515a5256 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include @@ -22,7 +22,6 @@ #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND #define FIO_USE_GENERIC_INIT_RANDOM_STATE -#define FIO_HAVE_PSHARED_MUTEX #define FIO_HAVE_CHARDEV_SIZE #define OS_MAP_ANON MAP_ANONYMOUS @@ -37,12 +36,6 @@ #define MSG_WAITALL 0x40 #endif -#ifdef LITTLE_ENDIAN -#define FIO_LITTLE_ENDIAN -#else -#define FIO_BIG_ENDIAN -#endif - #define FIO_USE_GENERIC_SWAP #define FIO_OS_HAVE_AIOCB_TYPEDEF @@ -50,7 +43,7 @@ typedef struct aiocb64 os_aiocb_t; static inline int blockdev_invalidate_cache(struct fio_file *f) { - return EINVAL; + return ENOTSUP; } static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)