From: Timur Tabi <ttabi@interactivesi.com>
To: Linux Kernel Mailing list <linux-kernel@vger.kernel.org>
Subject: pte_val(*pte) as lvalue
Date: Mon, 2 Jul 2001 18:22:17 -0500 [thread overview]
Message-ID: <9LUWoC.A.W3G.sIQQ7@dinero.interactivesi.com> (raw)
In my driver, I have this code:
unsigned long p = pte_val(*pte);
[set some bits in "p"]
pte_val(*pte) = p;
This works fine in 2.2, and 2.4 when PAE support is disabled. When PAE support
is enabled, it doesn't work, because the pte_val macro can no longer be an
lvalue.
What is the accepted way to assign an integer to a pte that works in 2.2 and
2.4?
--
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com
next reply other threads:[~2001-07-02 23:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 23:22 Timur Tabi [this message]
[not found] <9LUWoC.A.W3G.sIQQ7@dinero.interactivesi.com.suse.lists.linux.kernel>
2001-07-02 23:33 ` Andi Kleen
2001-07-03 18:32 ` Timur Tabi
2001-07-03 18:43 ` Russell King
2001-07-03 18:50 ` Timur Tabi
2001-07-03 19:11 ` Russell King
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=9LUWoC.A.W3G.sIQQ7@dinero.interactivesi.com \
--to=ttabi@interactivesi.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®