diff options
author | Ralf Baechle | 2007-10-18 18:48:11 +0200 |
---|---|---|
committer | Ralf Baechle | 2007-10-18 19:11:47 +0200 |
commit | 42f77542f4a1c104bb6fbba2e18e04e84415a96b (patch) | |
tree | 79b58e2d3e93abacbdd535684e2627231d2e0ffc /include/asm-mips/time.h | |
parent | [MIPS] time: Delete dead cycles_per_jiffy, mips_timer_ack and null_timer_ack (diff) | |
download | kernel-qcow2-linux-42f77542f4a1c104bb6fbba2e18e04e84415a96b.tar.gz kernel-qcow2-linux-42f77542f4a1c104bb6fbba2e18e04e84415a96b.tar.xz kernel-qcow2-linux-42f77542f4a1c104bb6fbba2e18e04e84415a96b.zip |
[MIPS] time: Move R4000 clockevent device code to separate configurable file
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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); /* * 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 */ |