mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
8c414ff3f4
Convert the footbridge isa-timer code to use generic i8253 clocksource. Acked-by: John Stultz <john.stultz@linaro.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16 lines
264 B
C
16 lines
264 B
C
#ifndef __ASMARM_I8253_H
|
|
#define __ASMARM_I8253_H
|
|
|
|
/* i8253A PIT registers */
|
|
#define PIT_MODE 0x43
|
|
#define PIT_CH0 0x40
|
|
|
|
#define PIT_LATCH ((PIT_TICK_RATE + HZ / 2) / HZ)
|
|
|
|
extern raw_spinlock_t i8253_lock;
|
|
|
|
#define outb_pit outb_p
|
|
#define inb_pit inb_p
|
|
|
|
#endif
|