From 802c02830905f75c53f335d7938b97d0120f738e Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 19 Jan 2001 14:09:54 +0000 Subject: 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. --- sys/isa/atrtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/isa/atrtc.c') diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index aafa821..b34567b 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -49,7 +49,7 @@ */ #include "opt_clock.h" -#include "apm.h" +#include "opt_apm.h" #include #include @@ -796,7 +796,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 @@ -813,7 +813,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; -- cgit v1.1