All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: Linux MIPS List <linux-mips@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH]: Fix R4K Cache Macro names
Date: Sun, 18 Jun 2006 02:17:01 -0400	[thread overview]
Message-ID: <4494EFDD.4000500@gentoo.org> (raw)

[-- 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

                 reply	other threads:[~2006-06-18  6:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4494EFDD.4000500@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.