summaryrefslogtreecommitdiffstats
path: root/sys/cddl/dev/dtrace/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cddl/dev/dtrace/i386')
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
index c5ea277..50793c4 100644
--- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
@@ -403,7 +403,7 @@ dtrace_gethrtime_init(void *arg)
* Otherwise tick->time conversion will be inaccurate, but
* will preserve monotonic property of TSC.
*/
- tsc_f = tsc_freq;
+ tsc_f = atomic_load_acq_64(&tsc_freq);
/*
* The following line checks that nsec_scale calculated below
OpenPOWER on IntegriCloud