HZ has not always been 100Hz for some time.
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
diff -u --exclude-from /usr/src/exclude --new-file --recursive
linux.vanilla-2.6.21-rc6-mm1/arch/i386/kernel/apm.c
linux-2.6.21-rc6-mm1/arch/i386/kernel/apm.c
--- linux.vanilla-2.6.21-rc6-mm1/arch/i386/kernel/apm.c 2007-04-12
14:15:03.000000000 +0100
+++ linux-2.6.21-rc6-mm1/arch/i386/kernel/apm.c 2007-04-12 14:27:23.000000000
+0100
@@ -1173,7 +1173,7 @@
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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/