X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gettime.c;h=099e9d9f6c879ffadb5d70a757d9910a6696be4e;hb=e9d2a04d1278ce02140a8b8da4d5aede7a6ad39d;hp=e3f483a700130a5fc6d490809b5c78bdd1934cd3;hpb=6202c70d8d5cbdd3fb4bc23b96f691cbd25a327e;p=fio.git diff --git a/gettime.c b/gettime.c index e3f483a7..099e9d9f 100644 --- a/gettime.c +++ b/gettime.c @@ -679,7 +679,7 @@ int fio_monotonic_clocktest(int debug) unsigned int i; os_cpu_mask_t mask; -#ifdef CONFIG_PTHREAD_GETAFFINITY +#ifdef FIO_HAVE_GET_THREAD_AFFINITY fio_get_thread_affinity(mask); #else memset(&mask, 0, sizeof(mask));