summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.2
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.2')
-rw-r--r--target/linux/generic/patches-3.2/308-mips-show-correct-cpu-name-for-24KEc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.2/308-mips-show-correct-cpu-name-for-24KEc.patch b/target/linux/generic/patches-3.2/308-mips-show-correct-cpu-name-for-24KEc.patch
new file mode 100644
index 0000000000..e59bd0fbe4
--- /dev/null
+++ b/target/linux/generic/patches-3.2/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
+@@ -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";