mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
i8253: Create common clockevent implementation
arm, mips and x86 implement i8253 based clockevents. All the same code copied. Create a common implementation in drivers/clocksource/i8253.c. About time to rename drivers/clocksource/ to something else. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: John Stultz <john.stultz@linaro.org> Link: http://lkml.kernel.org/r/20110609130621.921710458@linutronix.de
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#define outb_pit outb_p
|
||||
|
||||
extern raw_spinlock_t i8253_lock;
|
||||
extern struct clock_event_device i8253_clockevent;
|
||||
extern void clockevent_i8253_init(bool oneshot);
|
||||
|
||||
extern void setup_pit_timer(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user