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/> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/