summaryrefslogtreecommitdiff
path: root/8253pit.c
diff options
context:
space:
mode:
Diffstat (limited to '8253pit.c')
-rw-r--r--8253pit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/8253pit.c b/8253pit.c
index 0b82e29..d94d59c 100644
--- a/8253pit.c
+++ b/8253pit.c
@@ -42,5 +42,5 @@ pit8253_timerinit(void)
outb(TIMER_MODE, TIMER_SEL0 | TIMER_RATEGEN | TIMER_16BIT);
outb(IO_TIMER1, TIMER_DIV(100) % 256);
outb(IO_TIMER1, TIMER_DIV(100) / 256);
- irq_setmask_8259A(irq_mask_8259A & ~(1<<IRQ_TIMER));
+ irq_enable(IRQ_TIMER);
}