summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/time.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-12-07 04:51:04 +0100
committerJohn Crispin <blogic@openwrt.org>2013-02-17 01:25:21 +0100
commit778eeb1b199b85bec79b49ac483b013e270636ea (patch)
tree51a33ec4e5e81296f31fef98b89253855dc2368d /arch/mips/include/asm/time.h
parentMIPS: dsp: Simplify the DSP macros. (diff)
downloadlinux-778eeb1b199b85bec79b49ac483b013e270636ea.tar.xz
linux-778eeb1b199b85bec79b49ac483b013e270636ea.zip
MIPS: Add new GIC clocksource.
Add new clocksource that uses the counter present on the MIPS Global Interrupt Controller. Signed-off-by: Steven J. Hill <sjhill@mips.com> Patchwork: http://patchwork.linux-mips.org/patch/4681/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/time.h')
-rw-r--r--arch/mips/include/asm/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/time.h b/arch/mips/include/asm/time.h
index 761f2e92119e..d77a535d83eb 100644
--- a/arch/mips/include/asm/time.h
+++ b/arch/mips/include/asm/time.h
@@ -75,7 +75,7 @@ extern int init_r4k_clocksource(void);
static inline int init_mips_clocksource(void)
{
-#ifdef CONFIG_CSRC_R4K
+#if defined(CONFIG_CSRC_R4K) && !defined(CONFIG_CSRC_GIC)
return init_r4k_clocksource();
#else
return 0;