diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2009-06-09 09:47:02 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2009-06-09 09:47:02 +0000 |
| commit | 78c7c6adbc03e8b6d2998ea699ff9c1940407399 (patch) | |
| tree | cebd02d418efeb56e4cdb98b97252d4c0feaddda | |
| parent | 93a885572c281f7e77f3130fbe0f2b17eeff2ef9 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/isa/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index a35b8fe89863..79272f7b64d3 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; |
