apm: fix incorrect comment
HZ has not always been 100Hz for some time. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
873ec74615
commit
c991938018
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue