From: "Mark A. Greer" <mgreer@mvista.com>
To: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: Patch for include/asm-ppc/highmem.h
Date: Fri, 20 Jun 2003 16:55:38 -0700 [thread overview]
Message-ID: <3EF39EFA.8040507@mvista.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
This patch changes the mask value to what I believe it was intended to
be based on the bk comments for that file. If this is not the proper
fix, we need to figure it out b/c it doesn't build when CONFIG_HIGHMEM
is on (PAGE_ADDRESS is not defined).
Mark
[-- Attachment #2: highmem.patch --]
[-- Type: text/plain, Size: 506 bytes --]
===== include/asm-ppc/highmem.h 1.18 vs edited =====
--- 1.18/include/asm-ppc/highmem.h Sat May 10 01:06:50 2003
+++ edited/include/asm-ppc/highmem.h Fri Jun 20 16:50:26 2003
@@ -110,7 +110,7 @@
static inline void kunmap_atomic(void *kvaddr, enum km_type type)
{
#if HIGHMEM_DEBUG
- unsigned long vaddr = (unsigned long) kvaddr & PAGE_ADDRESS;
+ unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK;
unsigned int idx = type + KM_TYPE_NR*smp_processor_id();
if (vaddr < KMAP_FIX_BEGIN) // FIXME
reply other threads:[~2003-06-20 23:55 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=3EF39EFA.8040507@mvista.com \
--to=mgreer@mvista.com \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).