fix the cpu_wait patch for 2.6.22
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Jul 2007 05:44:15 +0000 (05:44 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Jul 2007 05:44:15 +0000 (05:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7896 3c298f89-4303-0410-b956-a3cf2f4a3e73

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: