Move 'tsc_reliable' outside of ARCH_HAVE_CPU_CLOCK
[fio.git] / gettime.c
index df329f66d3d5735b3225411315303f87b039c796..05625d1bcb202f577d357a8a05fe1b45687fd790 100644 (file)
--- a/gettime.c
+++ b/gettime.c
@@ -16,8 +16,8 @@
 #ifdef ARCH_HAVE_CPU_CLOCK
 static unsigned long cycles_per_usec;
 static unsigned long inv_cycles_per_usec;
-int tsc_reliable = 0;
 #endif
+int tsc_reliable = 0;
 
 struct tv_valid {
        struct timeval last_tv;