summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/cbmem/cbmem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index 748bc36453..15431f1d6e 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -559,6 +559,8 @@ static uint64_t timestamp_get(uint64_t table_tick_freq_mhz)
if (tsc_freq_khz)
return tsc * table_tick_freq_mhz * 1000 / tsc_freq_khz;
+#else
+ (void)table_tick_freq_mhz;
#endif
die("Don't know how to obtain timestamps on this platform.\n");
return 0;