summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-04-09 14:22:09 +0000
committerattilio <attilio@FreeBSD.org>2010-04-09 14:22:09 +0000
commit58a84d7424c617481676166982c088c68b2db29b (patch)
tree6e8a297886629caf2c8cc8efbc2f455866819882 /sys/pc98/cbus
parentf09468c0e17e4387cb6b425feab187243926bcc4 (diff)
downloadFreeBSD-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/pc98/cbus')
-rw-r--r--sys/pc98/cbus/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 22ed8a5..3028c07 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -93,7 +93,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);
static struct mtx clock_lock;
OpenPOWER on IntegriCloud