diff options
Diffstat (limited to 'include/asm-mips/time.h')
-rw-r--r-- | include/asm-mips/time.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index ff514b400924..cf76f4f7435f 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h | |||
@@ -75,6 +75,12 @@ extern int (*perf_irq)(void); | |||
75 | /* | 75 | /* |
76 | * Initialize the calling CPU's compare interrupt as clockevent device | 76 | * Initialize the calling CPU's compare interrupt as clockevent device |
77 | */ | 77 | */ |
78 | #ifdef CONFIG_CEVT_R4K | ||
78 | extern void mips_clockevent_init(void); | 79 | extern void mips_clockevent_init(void); |
80 | #else | ||
81 | static inline void mips_clockevent_init(void) | ||
82 | { | ||
83 | } | ||
84 | #endif | ||
79 | 85 | ||
80 | #endif /* _ASM_TIME_H */ | 86 | #endif /* _ASM_TIME_H */ |