From: Ralf Baechle Date: Fri, 8 Jun 2012 06:10:27 +0000 (+0100) Subject: MIPS: R3000/R3081: Fix CPU detection. X-Git-Tag: upstream/snapshot3+hdmi~6160^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d33976fb395a5b9cb00f2c24132b3f272eb9a9d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git MIPS: R3000/R3081: Fix CPU detection. Broken since e05ea74fc56f347f872ef9946d27c53e8bf20864 (lmo) rsp. cea7e2dfdef53fe55f359d00da562a268be06fd2 (kernel.org) [MIPS: Sort out CPU type to name translation.] These CPUs are no longer very popular to say the least ... Signed-off-by: Ralf Baechle Reported-by: Murphy McCauley --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index b1fb7af..cce3782 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -510,7 +510,6 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu) c->cputype = CPU_R3000A; __cpu_name[cpu] = "R3000A"; } - break; } else { c->cputype = CPU_R3000; __cpu_name[cpu] = "R3000";