summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/tsc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 882b442..185f240 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -174,6 +174,9 @@ tsc_levels_changed(void *arg, int unit)
int count, error;
uint64_t max_freq;
+ if (tsc_is_invariant)
+ return;
+
/* Only use values from the first CPU, assuming all are equal. */
if (unit != 0)
return;
OpenPOWER on IntegriCloud