Commit c9919380 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

apm: fix incorrect comment

HZ has not always been 100Hz for some time.
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 873ec746
...@@ -1172,7 +1172,7 @@ static void reinit_timer(void) ...@@ -1172,7 +1172,7 @@ static void reinit_timer(void)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&i8253_lock, flags); spin_lock_irqsave(&i8253_lock, flags);
/* set the clock to 100 Hz */ /* set the clock to HZ */
outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */
udelay(10); udelay(10);
outb_p(LATCH & 0xff, PIT_CH0); /* LSB */ outb_p(LATCH & 0xff, PIT_CH0); /* LSB */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment