brcm47xx: add initial support for kernel 3.8
[openwrt.git] / target / linux / brcm47xx / patches-3.8 / 170-fix-74k-cpu.patch
diff --git a/target/linux/brcm47xx/patches-3.8/170-fix-74k-cpu.patch b/target/linux/brcm47xx/patches-3.8/170-fix-74k-cpu.patch
new file mode 100644 (file)
index 0000000..a757ec7
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/arch/mips/kernel/cpu-probe.c
++++ b/arch/mips/kernel/cpu-probe.c
+@@ -210,9 +210,6 @@ void __init check_wait(void)
+               break;
+       case CPU_74K:
+-              cpu_wait = r4k_wait;
+-              if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))
+-                      cpu_wait = r4k_wait_irqoff;
+               break;
+       case CPU_TX49XX: