From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: linux-kernel@vger.kernel.org
Subject: Re: rmap and nvidia?
Date: Tue, 17 Dec 2002 10:17:16 +1100 [thread overview]
Message-ID: <3DFE5EFC.FC7CF213@eyal.emu.id.au> (raw)
In-Reply-To: 3DFE522A.6010803@superonline.com
"O.Sezer" wrote:
>
> Is this patch correct in any way?
> (Ripped out of the 2.5 patch and modified some).
The equivalent minimal patch for nv.c in 2.4 will then be:
--- modules/nvidia/NVIDIA_kernel/nv.c.orig Tue Dec 10 07:27:15 2002
+++ modules/nvidia/NVIDIA_kernel/nv.c Tue Dec 17 10:07:37 2002
@@ -2247,7 +2247,13 @@
pte_kunmap(pte__);
#else
pte__ = NULL;
+#ifdef pte_offset
pte = *pte_offset(pg_mid_dir, address);
+#else /* rmap-vm */
+ pte__ = pte_offset_map(pg_mid_dir, address);
+ pte = *pte__;
+ pte_unmap(pte__);
+#endif
#endif
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
next prev parent reply other threads:[~2002-12-16 23:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-16 22:22 rmap and nvidia? O.Sezer
2002-12-16 23:17 ` Eyal Lebedinsky [this message]
2002-12-17 9:58 ` Andrew McGregor
2002-12-17 19:35 ` Andrew McGregor
2002-12-17 20:14 ` O.Sezer
-- strict thread matches above, loose matches on Subject: below --
2002-12-16 14:25 O.Sezer
2002-12-16 15:42 ` William Lee Irwin III
2002-12-14 9:36 mdew
2002-12-14 9:38 ` William Lee Irwin III
2002-12-14 9:46 ` mdew
2002-12-14 14:26 ` Rik van Riel
2002-12-15 1:23 ` Eyal Lebedinsky
2002-12-15 1:28 ` Philip Dodd
2002-12-15 1:40 ` Eyal Lebedinsky
2002-12-16 13:32 ` Ducrot Bruno
2002-12-16 18:42 ` Andrew McGregor
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=3DFE5EFC.FC7CF213@eyal.emu.id.au \
--to=eyal@eyal.emu.id.au \
--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