Mailinglist Archive: opensuse-factory (447 mails)

< Previous Next >
Re: [opensuse-factory] Nvidia driver 384.98 + latest kernel 4.14.9-1 in TW


On 31/12/2017 21:43, Stefan BrĂ¼ns wrote:
The patch is malformed (hint: every line in the diff part has to start with
either '+', '-' or ' '). Thanks go to the person who posted in the forum
without providing an actual patch file ...

Regards,

Stefan
This attached patch should apply, it has spaces in the right places. Unfortunately I haven't a run package to actually check the patch.

Dave P
diff -durN nvidia-384-orig/nvidia-uvm/uvm8_va_block.c
nvidia-384/nvidia-uvm/uvm8_va_block.c
--- nvidia-uvm/uvm8_va_block.c 2017-12-26
11:20:17.097715622 +0100
+++ 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,
< Previous Next >
List Navigation