From b2cc9b7c744eb25744c66d5fc003795d8d2b76c8 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 11 Mar 2012 16:39:30 +0000 Subject: [PATCH] linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo SVN-Revision: 30881 --- ...8-mips-show-correct-cpu-name-for-24KEc.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch 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"; -- 2.30.2