summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/190-typo_cpu_features_override.patch
diff options
context:
space:
mode:
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
+