summaryrefslogtreecommitdiffstats
path: root/include/linux/i8253.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-09 13:08:25 +0000
committerThomas Gleixner <tglx@linutronix.de>2011-07-01 10:37:14 +0200
commite6220bdc9485c5ea972f9e0e6d062a05934bb74b (patch)
tree79d049aed6a68281a272d4abc468b23dfaec8a21 /include/linux/i8253.h
parent21f07f4f5718449c85c29827ff6fb0cf35a6c96e (diff)
downloadop-kernel-dev-e6220bdc9485c5ea972f9e0e6d062a05934bb74b.zip
op-kernel-dev-e6220bdc9485c5ea972f9e0e6d062a05934bb74b.tar.gz
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
Diffstat (limited to 'include/linux/i8253.h')
-rw-r--r--include/linux/i8253.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i8253.h b/include/linux/i8253.h
index 76039c8..487d50c 100644
--- a/include/linux/i8253.h
+++ b/include/linux/i8253.h
@@ -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);
OpenPOWER on IntegriCloud