aboutsummaryrefslogtreecommitdiff
path: root/sys/isa/atrtc.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-07-05 20:13:12 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-07-05 20:13:12 +0000
commit623b1a868e6ad59e21ecc0ba4a4f9fabbfca787b (patch)
tree9fcb39faa9dc6de9fae92aafeb46622f078c258c /sys/isa/atrtc.c
parentd758711729635267058db8895f4a1260f1c17b40 (diff)
downloadsrc-623b1a868e6ad59e21ecc0ba4a4f9fabbfca787b.tar.gz
src-623b1a868e6ad59e21ecc0ba4a4f9fabbfca787b.zip
Remove a || 1 that crept into the i8254 commit and was subsequently
copied and pasted. I had actually tested without this change in my trees as had the other testers. Reported by: bde, Rostislav Krasny rosti dot bsd at gmail dot com Approved by: re (scottl) Pointy hat to: jhb
Notes
Notes: svn path=/head/; revision=147783
Diffstat (limited to 'sys/isa/atrtc.c')
-rw-r--r--sys/isa/atrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index e2358e44151f..3570be18ac98 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -786,7 +786,7 @@ cpu_initclocks()
* that it can drive hardclock(). Otherwise, change the 8254
* timecounter to user a simpler algorithm.
*/
- if (!using_lapic_timer || 1) {
+ if (!using_lapic_timer) {
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
INTR_TYPE_CLK | INTR_FAST, NULL);
i8254_intsrc = intr_lookup_source(0);