From e48132ed75b15cf442e893c6e5ec353f4191063e Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 5 Jul 2005 20:13:12 +0000 Subject: 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 --- sys/amd64/isa/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/amd64/isa') diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index 914b4b2..727d1cf 100644 --- a/sys/amd64/isa/clock.c +++ b/sys/amd64/isa/clock.c @@ -736,7 +736,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); -- cgit v1.1