summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-22 18:16:55 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-22 18:16:55 +0000
commite521e0fb000c7b7e80a73cac4c1e264e7da8e98f (patch)
tree20da32fee69fb27b5d197671ebec9b402f3bf022 /target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
parent030341e663f32bc3740a1edf5e2a01c198c979f2 (diff)
linux/brcm47xx: properly fix r24096
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24102 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch b/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
index eae16b081..18d28665a 100644
--- a/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
+++ b/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch
@@ -299,7 +299,7 @@
* silly idea of putting something else there ...
*/
switch (current_cpu_type()) {
-+ case CPU_BCM3302:
++ case CPU_BMIPS3300:
+ {
+ u32 cm;
+ cm = read_c0_diag();
@@ -319,7 +319,7 @@
+ /* Check if special workarounds are required */
+#ifdef CONFIG_BCM47XX
-+ if (current_cpu_data.cputype == CPU_BCM4710 && (current_cpu_data.processor_id & 0xff) == 0) {
++ if (current_cpu_data.cputype == CPU_BMIPS4KC && (current_cpu_data.processor_id & 0xff) == 0) {
+ printk("Enabling BCM4710A0 cache workarounds.\n");
+ bcm4710 = 1;
+ } else