diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-08 19:03:03 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-14 10:29:48 +0100 |
commit | 798778b8653f64b7b2162ac70eca10367cff6ce8 (patch) | |
tree | cc1739a919b413592d8d6f5cc0cdd5fcf75ce6e6 /arch/mips/include/asm | |
parent | 82491451dd25a3abe8496ddbd04ddb3f77d285c2 (diff) | |
download | talos-op-linux-798778b8653f64b7b2162ac70eca10367cff6ce8.tar.gz talos-op-linux-798778b8653f64b7b2162ac70eca10367cff6ce8.zip |
clocksource: convert mips to generic i8253 clocksource
Convert MIPS i8253 clocksource code to use generic i8253 clocksource.
Acked-by: John Stultz <john.stultz@linaro.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/i8253.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/i8253.h b/arch/mips/include/asm/i8253.h index 48bb82372994..9ad011366f73 100644 --- a/arch/mips/include/asm/i8253.h +++ b/arch/mips/include/asm/i8253.h @@ -12,8 +12,13 @@ #define PIT_CH0 0x40 #define PIT_CH2 0x42 +#define PIT_LATCH LATCH + extern raw_spinlock_t i8253_lock; extern void setup_pit_timer(void); +#define inb_pit inb_p +#define outb_pit outb_p + #endif /* __ASM_I8253_H */ |