3b6c7970484814478edab2de8e2130872bdd8566
[openwrt.git] / target / linux / brcm47xx / patches-2.6.37 / 017-MIPS-BCM47xx-bmips4kc_fix.patch
1 --- a/arch/mips/kernel/cpu-probe.c
2 +++ b/arch/mips/kernel/cpu-probe.c
3 @@ -934,8 +934,8 @@ static inline void cpu_probe_broadcom(st
4 c->options |= MIPS_CPU_ULRI;
5 break;
6 case PRID_IMP_BMIPS4KC:
7 - c->cputype = CPU_4KC;
8 - __cpu_name[cpu] = "MIPS 4Kc";
9 + c->cputype = CPU_BMIPS4KC;
10 + __cpu_name[cpu] = "Broadcom BMIPS4Kc";
11 break;
12 }
13 }
14 --- a/arch/mips/include/asm/cpu.h
15 +++ b/arch/mips/include/asm/cpu.h
16 @@ -227,7 +227,7 @@ enum cpu_type_enum {
17 */
18 CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K,
19 CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350,
20 - CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC,
21 + CPU_BMIPS4380, CPU_BMIPS4KC, CPU_BMIPS5000, CPU_JZRISC,
22
23 /*
24 * MIPS64 class processors
25 --- a/arch/mips/mm/tlbex.c
26 +++ b/arch/mips/mm/tlbex.c
27 @@ -342,6 +342,7 @@ static void __cpuinit build_tlb_write_en
28 case CPU_BMIPS3300:
29 case CPU_BMIPS4350:
30 case CPU_BMIPS4380:
31 + case CPU_BMIPS4KC:
32 case CPU_BMIPS5000:
33 case CPU_LOONGSON2:
34 case CPU_R5500:
This page took 0.04002 seconds and 3 git commands to generate.