diff options
Diffstat (limited to 'arch/x86/kernel/apm_32.c')
-rw-r--r-- | arch/x86/kernel/apm_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index 955dd43b1676..d4438ef296d8 100644 --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c | |||
@@ -1174,11 +1174,11 @@ static void reinit_timer(void) | |||
1174 | 1174 | ||
1175 | spin_lock_irqsave(&i8253_lock, flags); | 1175 | spin_lock_irqsave(&i8253_lock, flags); |
1176 | /* set the clock to HZ */ | 1176 | /* set the clock to HZ */ |
1177 | outb_p(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ | 1177 | outb_pit(0x34, PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ |
1178 | udelay(10); | 1178 | udelay(10); |
1179 | outb_p(LATCH & 0xff, PIT_CH0); /* LSB */ | 1179 | outb_pit(LATCH & 0xff, PIT_CH0); /* LSB */ |
1180 | udelay(10); | 1180 | udelay(10); |
1181 | outb(LATCH >> 8, PIT_CH0); /* MSB */ | 1181 | outb_pit(LATCH >> 8, PIT_CH0); /* MSB */ |
1182 | udelay(10); | 1182 | udelay(10); |
1183 | spin_unlock_irqrestore(&i8253_lock, flags); | 1183 | spin_unlock_irqrestore(&i8253_lock, flags); |
1184 | #endif | 1184 | #endif |