* [PATCH]: Fix R4K Cache Macro names
@ 2006-06-18 6:17 Kumba
0 siblings, 0 replies; only message in thread
From: Kumba @ 2006-06-18 6:17 UTC (permalink / raw)
To: Linux MIPS List; +Cc: Ralf Baechle
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
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(-)
[-- Attachment #2: fix-4k-cache-macros.patch --]
[-- Type: text/plain, Size: 2891 bytes --]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-18 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-18 6:17 [PATCH]: Fix R4K Cache Macro names Kumba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox