summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-05-22 17:06:03 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:12:40 +0200
commitc106ff85e82f7385733e1e45fdab74a0634fe2c2 (patch)
tree08ed515fb27d4bff9017796cda7e7fa90d5f2e4c
parentMIPS: BCM1480: Remove checks for CONFIG_SIBYTE_BCM1480_PROF (diff)
downloadlinux-c106ff85e82f7385733e1e45fdab74a0634fe2c2.tar.xz
linux-c106ff85e82f7385733e1e45fdab74a0634fe2c2.zip
MIPS: Remove code protected by CONFIG_SYS_HAS_CPU_RM9000.
RM9000 support was removed a while ago but this bit crept back in through commit 69f24d17 [MIPS: Optimize current_cpu_type() for better code.] which had been developed before but merged after RM9000 support was removed. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Reported-by: Paul Bolle <pebolle@tiscali.nl>
-rw-r--r--arch/mips/include/asm/cpu-type.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
index 721906130a57..e3308b42343e 100644
--- a/arch/mips/include/asm/cpu-type.h
+++ b/arch/mips/include/asm/cpu-type.h
@@ -155,9 +155,6 @@ static inline int __pure __get_cpu_type(const int cpu_type)
case CPU_RM7000:
case CPU_SR71000:
#endif
-#ifdef CONFIG_SYS_HAS_CPU_RM9000
- case CPU_RM9000:
-#endif
#ifdef CONFIG_SYS_HAS_CPU_SB1
case CPU_SB1:
case CPU_SB1A: