linux-mips
[Top] [All Lists]

[PATCH]: Fix R4K Cache Macro names

To: Linux MIPS List <linux-mips@linux-mips.org>
Subject: [PATCH]: Fix R4K Cache Macro names
From: Kumba <kumba@gentoo.org>
Date: Sun, 18 Jun 2006 02:17:01 -0400
Cc: Ralf Baechle <ralf@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Several machines have the R4K cache macro name spelled incorrectly. Namely, they have cpu_has_4kcache defined instead of cpu_has_4k_cache.

--Kumba


Signed-off-by: Joshua Kinard <kumba@gentoo.org>

 mach-ip22/cpu-feature-overrides.h  |    2 +-
 mach-mips/cpu-feature-overrides.h  |    4 ++--
 mach-rm200/cpu-feature-overrides.h |    2 +-
 mach-sim/cpu-feature-overrides.h   |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
diff -Naurp 
linux-2.6.17.mips.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h 
linux-2.6.17.mips.p2/include/asm-mips/mach-ip22/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h   
2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p2/include/asm-mips/mach-ip22/cpu-feature-overrides.h     
2006-06-17 00:54:42.000000000 -0400
@@ -13,7 +13,7 @@
  */
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 #define cpu_has_fpu            1
 #define cpu_has_32fpr          1
 #define cpu_has_counter                1
diff -Naurp 
linux-2.6.17.mips.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h 
linux-2.6.17.mips.p2/include/asm-mips/mach-mips/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h   
2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p2/include/asm-mips/mach-mips/cpu-feature-overrides.h     
2006-06-17 00:54:42.000000000 -0400
@@ -17,7 +17,7 @@
 #ifdef CONFIG_CPU_MIPS32
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 /* #define cpu_has_fpu         ? */
 /* #define cpu_has_32fpr       ? */
 #define cpu_has_counter                1
@@ -47,7 +47,7 @@
 #ifdef CONFIG_CPU_MIPS64
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 /* #define cpu_has_fpu         ? */
 /* #define cpu_has_32fpr       ? */
 #define cpu_has_counter                1
diff -Naurp 
linux-2.6.17.mips.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h 
linux-2.6.17.mips.p2/include/asm-mips/mach-rm200/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h  
2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p2/include/asm-mips/mach-rm200/cpu-feature-overrides.h    
2006-06-17 00:54:42.000000000 -0400
@@ -14,7 +14,7 @@
 
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 #define cpu_has_fpu            1
 #define cpu_has_32fpr          1
 #define cpu_has_counter                1
diff -Naurp 
linux-2.6.17.mips.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h 
linux-2.6.17.mips.p2/include/asm-mips/mach-sim/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h    
2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p2/include/asm-mips/mach-sim/cpu-feature-overrides.h      
2006-06-17 00:54:42.000000000 -0400
@@ -16,7 +16,7 @@
 #ifdef CONFIG_CPU_MIPS32
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 #define cpu_has_fpu            0
 /* #define cpu_has_32fpr       ? */
 #define cpu_has_counter                1
@@ -41,7 +41,7 @@
 #ifdef CONFIG_CPU_MIPS64
 #define cpu_has_tlb            1
 #define cpu_has_4kex           1
-#define cpu_has_4kcache                1
+#define cpu_has_4k_cache       1
 /* #define cpu_has_fpu         ? */
 /* #define cpu_has_32fpr       ? */
 #define cpu_has_counter                1
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH]: Fix R4K Cache Macro names, Kumba <=