diff options
Diffstat (limited to 'sys/i386/isa/clock.c')
-rw-r--r-- | sys/i386/isa/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c index aafa821..b34567b 100644 --- a/sys/i386/isa/clock.c +++ b/sys/i386/isa/clock.c @@ -49,7 +49,7 @@ */ #include "opt_clock.h" -#include "apm.h" +#include "opt_apm.h" #include <sys/param.h> #include <sys/systm.h> @@ -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; |