linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo

SVN-Revision: 30880
lede-17.01
Gabor Juhos 2012-03-11 16:39:28 +00:00
parent 4e15457e0e
commit c9d71c8387
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -814,10 +814,13 @@ static inline void cpu_probe_mips(struct
__cpu_name[cpu] = "MIPS 20Kc";
break;
case PRID_IMP_24K:
- case PRID_IMP_24KE:
c->cputype = CPU_24K;
__cpu_name[cpu] = "MIPS 24Kc";
break;
+ case PRID_IMP_24KE:
+ c->cputype = CPU_24K;
+ __cpu_name[cpu] = "MIPS 24KEc";
+ break;
case PRID_IMP_25KF:
c->cputype = CPU_25KF;
__cpu_name[cpu] = "MIPS 25Kc";