nvidia-all/patches/kernel-5.16.patch
ptr1337 d66325a425
5.16 workaround (#79)
* 5.16 fix

* 5.16-fix
2021-11-30 13:49:55 +01:00

14 lines
512 B
Diff

--- a/kernel-dkms/nvidia-uvm/uvm_migrate_pageable.c 2021-10-22 08:48:04.000000000 +0200
+++ b/kernel-dkms/nvidia-uvm/uvm_migrate_pageable_b.c 2021-11-29 17:50:22.467621809 +0100
@@ -336,6 +336,10 @@
return dst_page;
}
+#ifndef MIGRATE_PFN_LOCKED
+#define MIGRATE_PFN_LOCKED 0
+#endif
+
static NV_STATUS migrate_vma_populate_anon_pages(struct vm_area_struct *vma,
unsigned long *dst,
unsigned long start,