diff options
author | peter <peter@FreeBSD.org> | 2001-01-19 14:09:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-19 14:09:54 +0000 |
commit | 802c02830905f75c53f335d7938b97d0120f738e (patch) | |
tree | fd5bd6b1029f6c6a521208c6e0d55e1705bf2eab /sys/pc98/cbus/clock.c | |
parent | 91d167d573b821562968d96a4b54bde071974c30 (diff) | |
download | FreeBSD-src-802c02830905f75c53f335d7938b97d0120f738e.zip FreeBSD-src-802c02830905f75c53f335d7938b97d0120f738e.tar.gz |
Convert apm from a bogus 'count' into a plain option. Clean out some
other cruft from the files.alpha and files.ia64 that were related to this.
Diffstat (limited to 'sys/pc98/cbus/clock.c')
-rw-r--r-- | sys/pc98/cbus/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 303f38a..3acf9a4 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -53,7 +53,7 @@ */ #include "opt_clock.h" -#include "apm.h" +#include "opt_apm.h" #include <sys/param.h> #include <sys/systm.h> @@ -988,7 +988,7 @@ startrtclock() * Curse Intel for leaving the counter out of the I/O APIC. */ -#if NAPM > 0 +#ifdef DEV_APM /* * We can not use the TSC if we support APM. Precise timekeeping * on an APM'ed machine is at best a fools pursuit, since @@ -1005,7 +1005,7 @@ startrtclock() if (disabled == 0) return; } -#endif /* NAPM > 0 */ +#endif /* DEV_APM */ if (tsc_present && tsc_freq != 0 && !tsc_is_broken) { tsc_timecounter.tc_frequency = tsc_freq; |