From 93c846f9047f392fc2335668a5234edfbddb7cdc Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 19 Oct 2007 08:13:08 +0100 Subject: [MIPS] time: Helpers to compute clocksource/event shift and mult values. Signed-off-by: Ralf Baechle --- include/asm-mips/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index cf76f4f7435f..bc47af313bcd 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h @@ -21,6 +21,7 @@ #include #include #include +#include #include extern spinlock_t rtc_lock; @@ -83,4 +84,8 @@ static inline void mips_clockevent_init(void) } #endif +extern void clocksource_set_clock(struct clocksource *cs, unsigned int clock); +extern void clockevent_set_clock(struct clock_event_device *cd, + unsigned int clock); + #endif /* _ASM_TIME_H */ -- cgit v1.2.3