diff options
author | attilio <attilio@FreeBSD.org> | 2010-04-09 14:22:09 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2010-04-09 14:22:09 +0000 |
commit | 58a84d7424c617481676166982c088c68b2db29b (patch) | |
tree | 6e8a297886629caf2c8cc8efbc2f455866819882 /sys/x86/isa | |
parent | f09468c0e17e4387cb6b425feab187243926bcc4 (diff) | |
download | FreeBSD-src-58a84d7424c617481676166982c088c68b2db29b.zip FreeBSD-src-58a84d7424c617481676166982c088c68b2db29b.tar.gz |
Default the machdep.lapic_allclocks to be enabled in order to cope with
broken atrtc.
Now if you want more correct stats on profhz and stathz it may be
disabled by setting to 0.
Reported by: A. Akephalos <akephalos dot akephalos at gmail dot com>,
Jakub Lach <jakub_lach at mailplus dot pl>
MFC: 1 week
Diffstat (limited to 'sys/x86/isa')
-rw-r--r-- | sys/x86/isa/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/isa/clock.c b/sys/x86/isa/clock.c index 4a20709..83026d6 100644 --- a/sys/x86/isa/clock.c +++ b/sys/x86/isa/clock.c @@ -97,7 +97,7 @@ TUNABLE_INT("hw.i8254.freq", &i8254_freq); int i8254_max_count; static int i8254_real_max_count; -static int lapic_allclocks; +static int lapic_allclocks = 1; TUNABLE_INT("machdep.lapic_allclocks", &lapic_allclocks); struct mtx clock_lock; |