diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 16:39:30 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 16:39:30 +0000 |
commit | f400a9cdd9f30633eb8a63e1f29c4b90ff86b487 (patch) | |
tree | 5a9c6b3595a8f5533d7d1e79106a15b65b7548da /target/linux | |
parent | c9d71c83879c930f0c77f53b51a52fec83d51122 (diff) | |
download | master-31e0f0ae-f400a9cdd9f30633eb8a63e1f29c4b90ff86b487.tar.gz master-31e0f0ae-f400a9cdd9f30633eb8a63e1f29c4b90ff86b487.tar.bz2 master-31e0f0ae-f400a9cdd9f30633eb8a63e1f29c4b90ff86b487.zip |
linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30881
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/patches-3.3/308-mips-show-correct-cpu-name-for-24KEc.patch | 17 |
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"; |