summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch
blob: 7d16726f0902efde109929e6452ee45cb234902f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -833,10 +833,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";