Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: linux-mips@linux-mips.org
Subject: Re: [PATCH]: Fix IP22 4k cache macro in cpu-feature-overrides.h
Date: Mon, 23 Jan 2006 22:37:23 +0000	[thread overview]
Message-ID: <20060123223723.GF499@toucan.gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

> "cpu_has_4kcache" is used in a number of other files too.

Attached is an updated patch which takes care of all of those references as well.


--Kumba


--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the
eyes of the great are elsewhere." --Elrond


[-- Attachment #2: misc-2.6.15-fix-4k-cache-macros.patch --]
[-- Type: text/plain, Size: 2819 bytes --]

diff -Naurp linux-2.6.15.1.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h linux-2.6.15.1/include/asm-mips/mach-ip22/cpu-feature-overrides.h
--- linux-2.6.15.1.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h	2006-01-23 16:49:30.000000000 -0500
+++ linux-2.6.15.1/include/asm-mips/mach-ip22/cpu-feature-overrides.h	2006-01-23 17:16:13.000000000 -0500
@@ -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.15.1.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h linux-2.6.15.1/include/asm-mips/mach-mips/cpu-feature-overrides.h
--- linux-2.6.15.1.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h	2006-01-02 22:21:10.000000000 -0500
+++ linux-2.6.15.1/include/asm-mips/mach-mips/cpu-feature-overrides.h	2006-01-23 17:15:57.000000000 -0500
@@ -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
@@ -43,7 +43,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.15.1.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h linux-2.6.15.1/include/asm-mips/mach-rm200/cpu-feature-overrides.h
--- linux-2.6.15.1.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h	2006-01-23 16:49:30.000000000 -0500
+++ linux-2.6.15.1/include/asm-mips/mach-rm200/cpu-feature-overrides.h	2006-01-23 17:16:25.000000000 -0500
@@ -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.15.1.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h linux-2.6.15.1/include/asm-mips/mach-sim/cpu-feature-overrides.h
--- linux-2.6.15.1.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h	2006-01-02 22:21:10.000000000 -0500
+++ linux-2.6.15.1/include/asm-mips/mach-sim/cpu-feature-overrides.h	2006-01-23 17:16:42.000000000 -0500
@@ -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-01-23 22:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23 22:37 Kumba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-24 19:30 [PATCH]: Fix IP22 4k cache macro in cpu-feature-overrides.h Kumba
2006-01-23 20:35 Kumba
2006-01-23 20:51 ` Martin Michlmayr

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=20060123223723.GF499@toucan.gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox