i8253: Cleanup outb/inb magic
[pandora-kernel.git] / arch / x86 / kernel / apm_32.c
index a30740e..0371c48 100644 (file)
@@ -1220,11 +1220,11 @@ static void reinit_timer(void)
 
        raw_spin_lock_irqsave(&i8253_lock, flags);
        /* set the clock to HZ */
-       outb_pit(0x34, PIT_MODE);               /* binary, mode 2, LSB/MSB, ch 0 */
+       outb_p(0x34, PIT_MODE);         /* binary, mode 2, LSB/MSB, ch 0 */
        udelay(10);
-       outb_pit(LATCH & 0xff, PIT_CH0);        /* LSB */
+       outb_p(LATCH & 0xff, PIT_CH0);  /* LSB */
        udelay(10);
-       outb_pit(LATCH >> 8, PIT_CH0);  /* MSB */
+       outb_p(LATCH >> 8, PIT_CH0);    /* MSB */
        udelay(10);
        raw_spin_unlock_irqrestore(&i8253_lock, flags);
 #endif