[generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
[openwrt.git] / target / linux / generic / patches-3.7 / 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 @@ -839,10 +839,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";