Merge branch 'esx-timerfd-bypass' of https://github.com/brianredbeard/fio
[fio.git] / os / os-dragonfly.h
index eb92521fa5ed4edab58134f1dbdff17c88fc26a2..44bfcd5d064001722567d8c2011665b612a13d4b 100644 (file)
@@ -47,7 +47,6 @@
 /* This is supposed to equal (sizeof(cpumask_t)*8) */
 #define FIO_MAX_CPUS   SMP_MAXCPU
 
-typedef off_t off64_t;
 typedef cpumask_t os_cpu_mask_t;
 
 /*
@@ -202,10 +201,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)
 {