aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/time.h')
-rw-r--r--include/asm-mips/time.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h
index 35555bd5c52d..cf76f4f7435f 100644
--- a/include/asm-mips/time.h
+++ b/include/asm-mips/time.h
@@ -40,7 +40,6 @@ extern int rtc_mips_set_mmss(unsigned long);
40 * mips_timer_ack may be NULL if the interrupt is self-recoverable. 40 * mips_timer_ack may be NULL if the interrupt is self-recoverable.
41 */ 41 */
42extern int (*mips_timer_state)(void); 42extern int (*mips_timer_state)(void);
43extern void (*mips_timer_ack)(void);
44 43
45/* 44/*
46 * High precision timer clocksource. 45 * High precision timer clocksource.
@@ -76,6 +75,12 @@ extern int (*perf_irq)(void);
76/* 75/*
77 * Initialize the calling CPU's compare interrupt as clockevent device 76 * Initialize the calling CPU's compare interrupt as clockevent device
78 */ 77 */
78#ifdef CONFIG_CEVT_R4K
79extern void mips_clockevent_init(void); 79extern void mips_clockevent_init(void);
80#else
81static inline void mips_clockevent_init(void)
82{
83}
84#endif
80 85
81#endif /* _ASM_TIME_H */ 86#endif /* _ASM_TIME_H */