summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-07-05 20:13:12 +0000
committerjhb <jhb@FreeBSD.org>2005-07-05 20:13:12 +0000
commite48132ed75b15cf442e893c6e5ec353f4191063e (patch)
tree9fcb39faa9dc6de9fae92aafeb46622f078c258c /sys/pc98
parent17e64b657e59ca18136a7623d6a7186b2387123d (diff)
downloadFreeBSD-src-e48132ed75b15cf442e893c6e5ec353f4191063e.zip
FreeBSD-src-e48132ed75b15cf442e893c6e5ec353f4191063e.tar.gz
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
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/clock.c2
-rw-r--r--sys/pc98/cbus/pcrtc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 7f50c99..9922fa2 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -765,7 +765,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);
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 7f50c99..9922fa2 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -765,7 +765,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);
OpenPOWER on IntegriCloud