summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/cpu.c2
-rw-r--r--src/arch/x86/timestamp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index cfab21956b..30d2cca87a 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -315,7 +315,7 @@ void lb_arch_add_records(struct lb_header *header)
struct lb_tsc_info *tsc_info;
/* Don't advertise a TSC rate unless it's constant. */
- if (!CONFIG(TSC_CONSTANT_RATE))
+ if (!tsc_constant_rate())
return;
freq_khz = tsc_freq_mhz() * 1000;
diff --git a/src/arch/x86/timestamp.c b/src/arch/x86/timestamp.c
index 92d9590af4..8cf0f96e31 100644
--- a/src/arch/x86/timestamp.c
+++ b/src/arch/x86/timestamp.c
@@ -22,7 +22,7 @@ uint64_t timestamp_get(void)
int timestamp_tick_freq_mhz(void)
{
/* Chipsets that have a constant TSC provide this value correctly. */
- if (CONFIG(TSC_CONSTANT_RATE))
+ if (tsc_constant_rate())
return tsc_freq_mhz();
/* Filling tick_freq_mhz = 0 in timestamps-table will trigger