[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070413133617.49b7f4bb@the-village.bc.nu>
Date: Fri, 13 Apr 2007 13:36:17 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: akpm@...l.org, linux-kernel@...r.kernel.org
Subject: [PATCH] apm: Fix incorrect comment
HZ has not always been 100Hz for some time.
Signed-off-by: Alan Cox <alan@...hat.com>
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists