summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-28 21:24:34 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-28 21:24:34 +0000
commit4d9258acb3abc998fc14ca792ee460052aacd642 (patch)
treedad3c452dfc83e0d16b6bc839b7a84d818d4c868 /target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch
parent554266a19e43960977bb85b440c15fdebee76241 (diff)
[brcm63xx] add support for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19921 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch b/target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch
new file mode 100644
index 000000000..cf5e6111f
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch
@@ -0,0 +1,19 @@
+Fix typo: CONFIG_BCMCPU_IS_63xx does not exists,
+CONFIG_BCM63XX_CPU_63xx is the valid config option.
+
+Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+---
+ .../asm/mach-bcm63xx/cpu-feature-overrides.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
++++ b/arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h
+@@ -24,7 +24,7 @@
+ #define cpu_has_smartmips 0
+ #define cpu_has_vtag_icache 0
+
+-#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCMCPU_IS_6348) || defined(CONFIG_CPU_IS_6338) || defined(CONFIG_CPU_IS_BCM6345))
++#if !defined(BCMCPU_RUNTIME_DETECT) && (defined(CONFIG_BCM63XX_CPU_6348) || defined(CONFIG_BCM63XX_CPU_6345) || defined(CONFIG_BCM63XX_CPU_6338))
+ #define cpu_has_dc_aliases 0
+ #endif
+