fix the cpu_wait patch for 2.6.22
[openwrt/openwrt.git] / target / linux / brcm47xx-2.6 / patches-2.6.22 / 170-cpu_wait.patch
index 82652be6183f5bae217b0ad856be15681efa0486..3d63f60a48246acb4916f39dcac878220707c3cd 100644 (file)
@@ -2,11 +2,11 @@ Index: linux-2.6.22-rc4/arch/mips/kernel/cpu-probe.c
 ===================================================================
 --- linux-2.6.22-rc4.orig/arch/mips/kernel/cpu-probe.c 2007-06-10 21:33:17.000000000 +0100
 +++ linux-2.6.22-rc4/arch/mips/kernel/cpu-probe.c      2007-06-10 21:33:22.000000000 +0100
-@@ -143,6 +143,7 @@
-       case CPU_34K:
-       case CPU_74K:
-       case CPU_PR4450:
-+      case CPU_BCM3302:
+@@ -139,6 +139,7 @@
+       case CPU_5KC:
+       case CPU_25KF:
+       case CPU_PR4450:
++      case CPU_BCM3302:
                cpu_wait = r4k_wait;
                break;
-       case CPU_TX49XX: