diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-05-08 03:29:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:10 -0400 |
commit | c9919380187e8182ac449652094c345c82dce0c3 (patch) | |
tree | ac2bd2c4edf5d14a2feb2490733326e6d0e5f747 /arch | |
parent | 873ec746158403af82c57ce26780166aafc159e1 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index fdaaf6877602..4112afe712b9 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/i386/kernel/apm.c | |||
@@ -1172,7 +1172,7 @@ static void reinit_timer(void) | |||
1172 | unsigned long flags; | 1172 | unsigned long flags; |
1173 | 1173 | ||
1174 | spin_lock_irqsave(&i8253_lock, flags); | 1174 | spin_lock_irqsave(&i8253_lock, flags); |
1175 | /* set the clock to 100 Hz */ | 1175 | /* set the clock to HZ */ |
1176 | outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ | 1176 | outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ |
1177 | udelay(10); | 1177 | udelay(10); |
1178 | outb_p(LATCH & 0xff, PIT_CH0); /* LSB */ | 1178 | outb_p(LATCH & 0xff, PIT_CH0); /* LSB */ |