summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2014-04-06 21:46:05 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-05-30 21:01:08 +0200
commit81d10bad0a5c5d82b1b5fea70fc84f71492e9235 (patch)
tree1d91fb1742192dcee102c85231463c0d5c5b43e3 /arch/mips
parente496453d3e15ae3e153a03116cb6070e00ec63ee (diff)
downloadlwn-81d10bad0a5c5d82b1b5fea70fc84f71492e9235.tar.gz
lwn-81d10bad0a5c5d82b1b5fea70fc84f71492e9235.zip
MIPS: DEC: Only select the R4k clock event/source on R4k systems
R3k systems have no R4k timer so there's no point in pulling code that's going to be dead. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6704/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c4804bfa001a..4e49591f79cb 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -174,9 +174,9 @@ config MACH_DECSTATION
bool "DECstations"
select BOOT_ELF32
select CEVT_DS1287
- select CEVT_R4K
+ select CEVT_R4K if CPU_R4X00
select CSRC_IOASIC
- select CSRC_R4K
+ select CSRC_R4K if CPU_R4X00
select CPU_DADDI_WORKAROUNDS if 64BIT
select CPU_R4000_WORKAROUNDS if 64BIT
select CPU_R4400_WORKAROUNDS if 64BIT