aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-11 16:39:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-11 16:39:30 +0000
commitb8e1185b0d8673b4580b212f4b6632ee939a2f9b (patch)
tree1b4b6270313d2f524a3f701e7742d512681a67e3 /target/linux/generic
parent353b832bed84f51d0995605d167795b79f31f889 (diff)
downloadupstream-b8e1185b0d8673b4580b212f4b6632ee939a2f9b.tar.gz
upstream-b8e1185b0d8673b4580b212f4b6632ee939a2f9b.tar.bz2
upstream-b8e1185b0d8673b4580b212f4b6632ee939a2f9b.zip
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
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch b/target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch
new file mode 100644
index 0000000000..ac6304a2b5
--- /dev/null
+++ b/target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch
@@ -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";