X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos.h;h=e47296801345d312249a277445e32bb42a6477a1;hp=756ece4b1916874da24ab18441406ad5a84e6de9;hb=de5ed0e4d398bc9d4576f9b2b82d7686989c27e1;hpb=a7760ecdb13394819b719f3f8181cc74c3d4affa diff --git a/os/os.h b/os/os.h index 756ece4b..e4729680 100644 --- a/os/os.h +++ b/os/os.h @@ -373,11 +373,13 @@ static inline int CPU_COUNT(os_cpu_mask_t *mask) #endif #ifndef FIO_HAVE_GETTID +#ifndef CONFIG_HAVE_GETTID static inline int gettid(void) { return getpid(); } #endif +#endif #ifndef FIO_HAVE_SHM_ATTACH_REMOVED static inline int shm_attach_to_open_removed(void)