aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/clock.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2008-10-21 00:38:00 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2008-10-21 00:38:00 +0000
commit29462bea1e4a3b6f85c6d61a846b3a89d4fbe01f (patch)
tree7447b782629647c7d066b2eafea4fc939f49b09e /sys/amd64/include/clock.h
parent780f139b5b21166717ab4d63848ed0f6c4c3d0fb (diff)
downloadsrc-29462bea1e4a3b6f85c6d61a846b3a89d4fbe01f.tar.gz
src-29462bea1e4a3b6f85c6d61a846b3a89d4fbe01f.zip
Turn off CPU frequency change notifiers when the TSC is P-state invariant
or it is forced by setting 'kern.timecounter.invariant_tsc' tunable to non-zero.
Notes
Notes: svn path=/head/; revision=184102
Diffstat (limited to 'sys/amd64/include/clock.h')
-rw-r--r--sys/amd64/include/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/clock.h b/sys/amd64/include/clock.h
index de09de3f1fd4..f8745f9cd558 100644
--- a/sys/amd64/include/clock.h
+++ b/sys/amd64/include/clock.h
@@ -20,6 +20,7 @@ extern u_int i8254_freq;
extern int i8254_max_count;
extern uint64_t tsc_freq;
extern int tsc_is_broken;
+extern int tsc_is_invariant;
void i8254_init(void);