diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-01-19 14:09:54 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-01-19 14:09:54 +0000 |
| commit | 1467a651ab2f11b9f443ae29fc96ae9c611f1f09 (patch) | |
| tree | c11c78cf041ac8533a82a767f2e6f4e088ec66e4 /sys/amd64/isa/clock.c | |
| parent | aaa69bf4d0a5ae3c154cbba763277ea984b0d664 (diff) | |
Notes
Diffstat (limited to 'sys/amd64/isa/clock.c')
| -rw-r--r-- | sys/amd64/isa/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index aafa8214ec05..b34567b728cf 100644 --- a/sys/amd64/isa/clock.c +++ b/sys/amd64/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; |
