nvidia-drivers updated for 4.3.0 kernel.
This commit is contained in:
parent
efb46318d9
commit
18faaadfa8
|
@ -0,0 +1,22 @@
|
||||||
|
--- kernel/nv-procfs.c 2015-11-10 17:06:27.982384266 +0300
|
||||||
|
+++ kernel/nv-procfs.c 2015-11-10 17:05:59.932593512 +0300
|
||||||
|
@@ -356,7 +356,8 @@
|
||||||
|
registry_keys = ((nvl != NULL) ?
|
||||||
|
nvl->registry_keys : nv_registry_keys);
|
||||||
|
|
||||||
|
- return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
|
||||||
|
+ seq_printf(s, "Binary: \"%s\"\n", registry_keys);
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static ssize_t
|
||||||
|
@@ -552,7 +553,8 @@
|
||||||
|
void *v
|
||||||
|
)
|
||||||
|
{
|
||||||
|
- return seq_puts(s, s->private);
|
||||||
|
+ seq_puts(s, s->private);
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
NV_DEFINE_PROCFS_SINGLE_FILE(text_file);
|
|
@ -184,6 +184,10 @@ src_prepare() {
|
||||||
epatch "${FILESDIR}"/4.0_kernel.patch
|
epatch "${FILESDIR}"/4.0_kernel.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if kernel_is ge 4 3 0 ; then
|
||||||
|
epatch "${FILESDIR}"/4.3_kernel.patch
|
||||||
|
fi
|
||||||
|
|
||||||
# If greater than 2.6.5 use M= instead of SUBDIR=
|
# If greater than 2.6.5 use M= instead of SUBDIR=
|
||||||
# convert_to_m "${NV_SRC}"/Makefile.kbuild
|
# convert_to_m "${NV_SRC}"/Makefile.kbuild
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue