summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 05:36:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 05:36:30 +0000
commitfc000e530b451ade12408867c3f599f0be5b423b (patch)
tree399d398002a80ebf87058ece37b1bc5c9a7a8536 /sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch
parent0f305f2c75f5a1ebc1d4ff5cb93a055220e40869 (diff)
x11-drivers/nvidia-drivers : version bump
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch
new file mode 100644
index 00000000..89ad2df3
--- /dev/null
+++ b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-kernel-4.14.9.patch
@@ -0,0 +1,14 @@
+diff -durN a/kernel/nvidia-uvm/uvm8_va_block.c b/kernel/nvidia-uvm/uvm8_va_block.c
+--- a/kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:17.097715622 +0100
++++ b/kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:29.674381760 +0100
+@@ -36,6 +36,10 @@
+ #include "uvm8_perf_prefetch.h"
+ #include "uvm8_mem.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,9)
++#include <linux/sched/task_stack.h>
++#endif
++
+ typedef enum
+ {
+ BLOCK_PTE_OP_MAP,