Skip to contentSkip to conversation

apm: Fix incorrect comment

PATCH New Alan Cox 1 participant 1 message Apr 13, 2007

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 apm: Fix incorrect comment

HZ has not always been 100Hz for some time.

arch/i386/kernel/apm.c +1 -1
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
@@ -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 */