projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6404b7c
)
MIPS: show correct cpu name for 24KEc
author
John Crispin
<blogic@openwrt.org>
Fri, 11 Jan 2013 21:44:10 +0000
(22:44 +0100)
committer
John Crispin
<blogic@openwrt.org>
Sat, 16 Feb 2013 23:15:16 +0000
(
00:15
+0100)
Make sure 24KEc is properly identified inside /proc/cpuinfo
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/kernel/cpu-probe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/cpu-probe.c
b/arch/mips/kernel/cpu-probe.c
index cce3782c96c9b792e412abc32fed55547dcde7c9..9f31334ed1de7879ef83e4a027733c88aefe957a 100644
(file)
--- a/
arch/mips/kernel/cpu-probe.c
+++ b/
arch/mips/kernel/cpu-probe.c
@@
-838,10
+838,13
@@
static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
__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";