generic: disintegrate UAPI from include/linux/switch.h
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 308-mips-show-correct-cpu-name-for-24KEc.patch
1 --- a/arch/mips/kernel/cpu-probe.c
2 +++ b/arch/mips/kernel/cpu-probe.c
3 @@ -816,10 +816,13 @@ static inline void cpu_probe_mips(struct
4 __cpu_name[cpu] = "MIPS 20Kc";
5 break;
6 case PRID_IMP_24K:
7 - case PRID_IMP_24KE:
8 c->cputype = CPU_24K;
9 __cpu_name[cpu] = "MIPS 24Kc";
10 break;
11 + case PRID_IMP_24KE:
12 + c->cputype = CPU_24K;
13 + __cpu_name[cpu] = "MIPS 24KEc";
14 + break;
15 case PRID_IMP_25KF:
16 c->cputype = CPU_25KF;
17 __cpu_name[cpu] = "MIPS 25Kc";