diff options
author | Joachim Blaabjerg <styx@gentoo.org> | 2002-12-18 21:15:57 +0000 |
---|---|---|
committer | Joachim Blaabjerg <styx@gentoo.org> | 2002-12-18 21:15:57 +0000 |
commit | d88a69e5892a8e4337e22d5762d732e03aba41af (patch) | |
tree | 894ed07e2e8cfeb0cb24e85cf9fda2db794bd62b /media-video | |
parent | Adding ${FILESDIR}/${NV_PACKAGE}-rmap.diff, so it works with rmap kernels as ... (diff) | |
download | historical-d88a69e5892a8e4337e22d5762d732e03aba41af.tar.gz historical-d88a69e5892a8e4337e22d5762d732e03aba41af.tar.bz2 historical-d88a69e5892a8e4337e22d5762d732e03aba41af.zip |
Committing the actual patch :P
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/nvidia-kernel/files/NVIDIA_kernel-1.0-4191-rmap.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-video/nvidia-kernel/files/NVIDIA_kernel-1.0-4191-rmap.diff b/media-video/nvidia-kernel/files/NVIDIA_kernel-1.0-4191-rmap.diff new file mode 100644 index 000000000000..e46c8ea309ac --- /dev/null +++ b/media-video/nvidia-kernel/files/NVIDIA_kernel-1.0-4191-rmap.diff @@ -0,0 +1,17 @@ +diff -Naur NVIDIA_kernel-1.0-4191/nv.c NVIDIA_kernel-1.0-4191-patched/nv.c +--- NVIDIA_kernel-1.0-4191/nv.c 2002-12-09 21:27:15.000000000 +0100 ++++ NVIDIA_kernel-1.0-4191-patched/nv.c 2002-12-18 21:49:05.000000000 +0100 +@@ -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 + + if (!pte_present(pte)) |