X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-hpux.h;h=82acd1105fc51aa22f3976643a18999b245ebb3e;hb=02957cd47484f5c84c687db3ce01b084a53ae25b;hp=4353a0199aa64c5c857613d9bc4b1c7331e7f45f;hpb=e97c14423a5688d7adfb342c16363c263cb741f9;p=fio.git diff --git a/os/os-hpux.h b/os/os-hpux.h index 4353a019..82acd110 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -1,6 +1,8 @@ #ifndef FIO_OS_HPUX_H #define FIO_OS_HPUX_H +#define FIO_OS os_hpux + #include #include #include @@ -13,19 +15,15 @@ #include #include #include +#include #include "../file.h" -#define FIO_HAVE_POSIXAIO #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND -#define FIO_HAVE_CLOCK_MONOTONIC +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_PSHARED_MUTEX -#define FIO_HAVE_FADVISE #define FIO_HAVE_CHARDEV_SIZE -#define FIO_HAVE_FALLOCATE -#define FIO_HAVE_POSIXAIO_FSYNC -#define FIO_HAVE_FDATASYNC #define OS_MAP_ANON MAP_ANONYMOUS #define OS_MSG_DONTWAIT 0 @@ -35,14 +33,12 @@ #define POSIX_MADV_RANDOM MADV_RANDOM #define posix_madvise(ptr, sz, hint) madvise((ptr), (sz), (hint)) -#ifndef CLOCK_MONOTONIC -#define CLOCK_MONOTONIC CLOCK_REALTIME -#endif - #ifndef MSG_WAITALL #define MSG_WAITALL 0x40 #endif +#define FIO_USE_GENERIC_SWAP + #define FIO_OS_HAVE_AIOCB_TYPEDEF typedef struct aiocb64 os_aiocb_t;