X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-hpux.h;h=515a5256878a1d57f6f2fb651f05c2fa66b2af7b;hb=c1e38868c299c2b3baa0f5a9f038bb1c79c09308;hp=82acd1105fc51aa22f3976643a18999b245ebb3e;hpb=836fcc0fceb233ebcc41ee63b4ea5cae20b678a4;p=fio.git diff --git a/os/os-hpux.h b/os/os-hpux.h index 82acd110..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 @@ -44,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)