diff options
Diffstat (limited to 'linux/dev/arch/i386/kernel')
-rw-r--r-- | linux/dev/arch/i386/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/arch/i386/kernel/irq.c b/linux/dev/arch/i386/kernel/irq.c index 68bf0c4..7753814 100644 --- a/linux/dev/arch/i386/kernel/irq.c +++ b/linux/dev/arch/i386/kernel/irq.c @@ -695,7 +695,7 @@ init_IRQ (void) * Program counter 0 of 8253 to interrupt hz times per second. */ outb_p (PIT_C0 | PIT_SQUAREMODE | PIT_READMODE, PITCTL_PORT); - outb_p (latch && 0xff, PITCTR0_PORT); + outb_p (latch & 0xff, PITCTR0_PORT); outb (latch >> 8, PITCTR0_PORT); /* |