From: Kumba <kumba@gentoo.org>
To: Linux MIPS List <linux-mips@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH]: Add Missing R4K Cache Macros to IP27 & IP32
Date: Sun, 18 Jun 2006 02:16:53 -0400 [thread overview]
Message-ID: <4494EFD5.8090601@gentoo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
Keeping in accordance with other machines, IP27 and IP32 lack a few macros.
IP27 lacks cpu_has_4kex & cpu_has_4k_cache macros while IP32 lacks just the
cpu_has_4k_cache macro.
--Kumba
Signed-off-by: Joshua Kinard <kumba@gentoo.org>
mach-ip27/cpu-feature-overrides.h | 3 +++
mach-ip32/cpu-feature-overrides.h | 2 ++
2 files changed, 5 insertions(+)
[-- Attachment #2: add-4k-cache-macros.patch --]
[-- Type: text/plain, Size: 1163 bytes --]
diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-ip27/cpu-feature-overrides.h linux-2.6.17.mips.p1/include/asm-mips/mach-ip27/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-ip27/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p1/include/asm-mips/mach-ip27/cpu-feature-overrides.h 2006-06-17 00:54:29.000000000 -0400
@@ -31,6 +31,9 @@
#define cpu_has_nofpuex 0
#define cpu_has_64bits 1
+#define cpu_has_4kex 1
+#define cpu_has_4k_cache 1
+
#define cpu_has_subset_pcaches 1
#define cpu_dcache_line_size() 32
diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-ip32/cpu-feature-overrides.h linux-2.6.17.mips.p1/include/asm-mips/mach-ip32/cpu-feature-overrides.h
--- linux-2.6.17.mips.orig/include/asm-mips/mach-ip32/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400
+++ linux-2.6.17.mips.p1/include/asm-mips/mach-ip32/cpu-feature-overrides.h 2006-06-17 00:54:29.000000000 -0400
@@ -38,6 +38,8 @@
#define cpu_has_vtag_icache 0
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
+#define cpu_has_4k_cache 1
+
#define cpu_has_mips32r1 0
#define cpu_has_mips32r2 0
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=4494EFD5.8090601@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.