summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-06-09 09:47:02 +0000
committerbz <bz@FreeBSD.org>2009-06-09 09:47:02 +0000
commitcc2da0cf7e27c58998920b57855a6dd833b892f1 (patch)
treecebd02d418efeb56e4cdb98b97252d4c0feaddda /sys/amd64
parent0b401e6e2bb3cec2edfa0e1f0d98ca7a3a45affa (diff)
downloadFreeBSD-src-cc2da0cf7e27c58998920b57855a6dd833b892f1.zip
FreeBSD-src-cc2da0cf7e27c58998920b57855a6dd833b892f1.tar.gz
Unbreak the build for amd64 after r193814 using correct variable names.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/isa/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index a35b8fe..79272f7 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -535,7 +535,7 @@ void
cpu_startprofclock(void)
{
- if (using_lapic_timer || !using_atrtc_clock)
+ if (using_lapic_timer || !using_atrtc_timer)
return;
atrtc_rate(RTCSA_PROF);
psdiv = pscnt = psratio;
@@ -545,7 +545,7 @@ void
cpu_stopprofclock(void)
{
- if (using_lapic_timer || !using_atrtc_clock)
+ if (using_lapic_timer || !using_atrtc_timer)
return;
atrtc_rate(RTCSA_NOPROF);
psdiv = pscnt = 1;
OpenPOWER on IntegriCloud