diff options
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files/kernel-5.2.patch')
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/files/kernel-5.2.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/kernel-5.2.patch b/sys-kernel/nvidia-drivers-dkms/files/kernel-5.2.patch deleted file mode 100644 index 344771d2..00000000 --- a/sys-kernel/nvidia-drivers-dkms/files/kernel-5.2.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -u -r a/kernel/nvidia-uvm/uvm8_tools.c b/kernel/nvidia-uvm/uvm8_tools.c ---- a/kernel/nvidia-uvm/uvm8_tools.c 2019-01-27 16:12:22.000000000 +0000 -+++ b/kernel/nvidia-uvm/uvm8_tools.c 2019-07-09 04:42:40.134899491 +0000 -@@ -204,12 +204,14 @@ - return event_tracker != NULL && !event_tracker->is_queue; - } - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) - static void put_user_pages(struct page **pages, NvU64 page_count) - { - NvU64 i; - for (i = 0; i < page_count; i++) - put_page(pages[i]); - } -+#endif - - static void unmap_user_pages(struct page **pages, void *addr, NvU64 size) - { |