move tlb change for mips 4KC to generic patches (required for most mips targets)
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches / 012-mips_cpu_tlb.patch
1 diff -Nur linux-2.6.17/arch/mips/mm/tlbex.c linux-2.6.17-owrt/arch/mips/mm/tlbex.c
2 --- linux-2.6.17/arch/mips/mm/tlbex.c   2006-06-18 03:49:35.000000000 +0200
3 +++ linux-2.6.17-owrt/arch/mips/mm/tlbex.c      2006-06-18 12:48:27.000000000 +0200
4 @@ -876,7 +876,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 @@ -904,6 +903,7 @@
13                 tlbw(p);
14                 break;
15  
16 +       case CPU_4KC:
17         case CPU_4KEC:
18         case CPU_24K:
19         case CPU_34K:
20