mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 23:40:15 +02:00
linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a26c9305b4
commit
1df87f4bee
@ -0,0 +1,17 @@
|
|||||||
|
--- a/arch/mips/kernel/cpu-probe.c
|
||||||
|
+++ b/arch/mips/kernel/cpu-probe.c
|
||||||
|
@@ -816,10 +816,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";
|
Loading…
Reference in New Issue
Block a user