1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 06:58:38 +02:00
openwrt-xburst/target/linux/generic/patches-3.2/308-mips-show-correct-cpu-name-for-24KEc.patch
juhosg a26c9305b4 linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:28 +00:00

18 lines
463 B
Diff

--- 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";