From: Maciej W. Rozycki Date: Sun, 6 Apr 2014 20:46:05 +0000 (+0100) Subject: MIPS: DEC: Only select the R4k clock event/source on R4k systems X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81d10bad0a5c5d82b1b5fea70fc84f71492e9235;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6704/ Signed-off-by: Ralf Baechle --- 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