Skip to content

Instantly share code, notes, and snippets.

View tpruzina's full-sized avatar

Tomáš Pružina tpruzina

View GitHub Profile
@tpruzina
tpruzina / 370.20-4.9.0+-stageing50.patch
Created December 15, 2016 09:25 — forked from anonymous/370.20-4.9.0+-stageing50.patch
370.20-4.9.0+-stageing50.patch
diff -ur NVIDIA-Linux-x86_64-375.20/kernel/common/inc/nv-mm.h NVIDIA-Linux-x86_64-375.20-patched/kernel/common/inc/nv-mm.h
--- NVIDIA-Linux-x86_64-375.20/kernel/common/inc/nv-mm.h 2016-11-16 00:53:45.000000000 +0100
+++ NVIDIA-Linux-x86_64-375.20-patched/kernel/common/inc/nv-mm.h 2016-12-15 09:54:13.755753901 +0100
@@ -83,7 +83,7 @@
if (force)
flags |= FOLL_FORCE;
- return get_user_pages_remote(tsk, mm, start, nr_pages, flags, pages, vmas);
+ return get_user_pages_remote(tsk, mm, start, nr_pages, flags, pages, vmas, NULL);
}