projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2f27b
)
gettime: hide fio_gtod_cpumask if not used
author
Jens Axboe
<axboe@fb.com>
Fri, 19 Dec 2014 22:04:10 +0000
(15:04 -0700)
committer
Jens Axboe
<axboe@fb.com>
Fri, 19 Dec 2014 22:04:10 +0000
(15:04 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
gettime-thread.c
patch
|
blob
|
blame
|
history
diff --git
a/gettime-thread.c
b/gettime-thread.c
index 65ca83419d0f6f82ba5bab3c270ea81f1cd80c5c..2dc976fb42c7bbb5b4deedc0746d5577bd5c1e0b 100644
(file)
--- a/
gettime-thread.c
+++ b/
gettime-thread.c
@@
-8,8
+8,10
@@
struct timeval *fio_tv = NULL;
int fio_gtod_offload = 0;
-static os_cpu_mask_t fio_gtod_cpumask;
static pthread_t gtod_thread;
+#ifdef FIO_HAVE_CPU_AFFINITY
+static os_cpu_mask_t fio_gtod_cpumask;
+#endif
void fio_gtod_init(void)
{