Skip to content

Commit

Permalink
apm: fix incorrect comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Linus Torvalds committed May 8, 2007
1 parent 873ec74 commit c991938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ static void reinit_timer(void)
unsigned long 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 */
udelay(10);
outb_p(LATCH & 0xff, PIT_CH0); /* LSB */
Expand Down

0 comments on commit c991938

Please sign in to comment.