From 42f77542f4a1c104bb6fbba2e18e04e84415a96b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 18 Oct 2007 17:48:11 +0100 Subject: [MIPS] time: Move R4000 clockevent device code to separate configurable file Signed-off-by: Ralf Baechle --- include/asm-mips/time.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/asm-mips') diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index ff514b40092..cf76f4f7435 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h @@ -75,6 +75,12 @@ extern int (*perf_irq)(void); /* * Initialize the calling CPU's compare interrupt as clockevent device */ +#ifdef CONFIG_CEVT_R4K extern void mips_clockevent_init(void); +#else +static inline void mips_clockevent_init(void) +{ +} +#endif #endif /* _ASM_TIME_H */ -- cgit v1.2.3