From: "Jon Burgess" <Jon_Burgess@eur.3com.com>
To: linux-mips@oss.sgi.com
Cc: carstenl@mips.com
Subject: Mips32 icache vs dcache size typo
Date: Fri, 19 Jul 2002 17:21:09 +0100 [thread overview]
Message-ID: <80256BFB.005A3F76.00@notesmta.eur.3com.com> (raw)
The patch below fixes what looks like a typo on mips32_flush_icache_page() which
uses 'dcache_size' instead of 'icache_size'. The patch is part of the one sent
by Carsten and the same fix was included in a kernel supplied to us by Broadcom.
I haven't had a chance to try the rest of the patch suggested by Carsten yet,
but this looks like an important fix for processors where dcache_size !=
icache_size.
Jon Burgess
--- arch/mips/mm/c-mips32.c~ Wed May 29 05:03:17 2002
+++ arch/mips/mm/c-mips32.c Thu Jul 11 09:55:08 2002
@@ -303,7 +303,7 @@
if (!(vma->vm_flags & VM_EXEC))
return;
- address = KSEG0 + ((unsigned long)page_address(page) & PAGE_MASK &
(dcache_size - 1));
+ address = KSEG0 + ((unsigned long)page_address(page) & PAGE_MASK &
(icache_size - 1));
blast_icache_page_indexed(address);
}
reply other threads:[~2002-07-19 16:21 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=80256BFB.005A3F76.00@notesmta.eur.3com.com \
--to=jon_burgess@eur.3com.com \
--cc=carstenl@mips.com \
--cc=linux-mips@oss.sgi.com \
/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