mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xf86-video-nvidia: fix build with 4.14.9
This commit is contained in:
parent
30773aa8ba
commit
7008937eff
@ -0,0 +1,15 @@
|
||||
diff --git a/kernel/nvidia-uvm/uvm8_va_block.c b/kernel/nvidia-uvm/uvm8_va_block.c
|
||||
index 99f6f9b..a453eb6 100644
|
||||
--- a/kernel/nvidia-uvm/uvm8_va_block.c
|
||||
+++ b/kernel/nvidia-uvm/uvm8_va_block.c
|
||||
@@ -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,
|
Loading…
x
Reference in New Issue
Block a user