prepare for the transition to linux 2.6.22 - make it possible to override the kernel...
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 012-mips_cpu_tlb.patch
1 diff -urN linux-2.6.21.1.old/arch/mips/mm/tlbex.c linux-2.6.21.1.dev/arch/mips/mm/tlbex.c
2 --- linux-2.6.21.1.old/arch/mips/mm/tlbex.c 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/arch/mips/mm/tlbex.c 2007-05-26 19:50:19.046030304 +0200
4 @@ -887,7 +887,6 @@
5 case CPU_R10000:
6 case CPU_R12000:
7 case CPU_R14000:
8 - case CPU_4KC:
9 case CPU_SB1:
10 case CPU_SB1A:
11 case CPU_4KSC:
12 @@ -915,6 +914,7 @@
13 tlbw(p);
14 break;
15
16 + case CPU_4KC:
17 case CPU_4KEC:
18 case CPU_24K:
19 case CPU_34K: