summaryrefslogtreecommitdiff
path: root/src/arch/x86/timestamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/timestamp.c')
-rw-r--r--src/arch/x86/timestamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/timestamp.c b/src/arch/x86/timestamp.c
index b5257c4c7e..5b48c23be2 100644
--- a/src/arch/x86/timestamp.c
+++ b/src/arch/x86/timestamp.c
@@ -24,7 +24,7 @@ uint64_t timestamp_get(void)
int timestamp_tick_freq_mhz(void)
{
/* Chipsets that have a constant TSC provide this value correctly. */
- if (IS_ENABLED(CONFIG_TSC_CONSTANT_RATE))
+ if (CONFIG(TSC_CONSTANT_RATE))
return tsc_freq_mhz();
/* Filling tick_freq_mhz = 0 in timestamps-table will trigger