mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
xf86-video-nvidia: fix build with 4.14.9
This commit is contained in:
@@ -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,
|
||||
Reference in New Issue
Block a user