X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-dragonfly.h;h=3c460ae2f33105574769450cba7fe817362c66a6;hp=eb92521fa5ed4edab58134f1dbdff17c88fc26a2;hb=de5ed0e4d398bc9d4576f9b2b82d7686989c27e1;hpb=a7760ecdb13394819b719f3f8181cc74c3d4affa diff --git a/os/os-dragonfly.h b/os/os-dragonfly.h index eb92521f..3c460ae2 100644 --- a/os/os-dragonfly.h +++ b/os/os-dragonfly.h @@ -202,10 +202,12 @@ static inline unsigned long long os_phys_mem(void) return mem; } +#ifndef CONFIG_HAVE_GETTID static inline int gettid(void) { return (int) lwp_gettid(); } +#endif static inline unsigned long long get_fs_free_size(const char *path) {