nvidia-drivers 331.113 && Linux 3.19 support.
This commit is contained in:
parent
2a5901b24b
commit
98f5b1beae
|
@ -0,0 +1,11 @@
|
||||||
|
--- kernel/nv-linux.h 2015-04-22 11:10:14.949036334 +0300
|
||||||
|
+++ kernel/nv-linux.h 2015-04-22 11:09:08.609580754 +0300
|
||||||
|
@@ -1860,4 +1860,8 @@
|
||||||
|
#define NV_VGX_HYPER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)
|
||||||
|
+#define f_dentry f_path.dentry
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#endif /* _NV_LINUX_H_ */
|
|
@ -176,6 +176,10 @@ src_prepare() {
|
||||||
epatch "${FILESDIR}"/3.18_kernel.patch
|
epatch "${FILESDIR}"/3.18_kernel.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if kernel_is gt 2 19 0 ; then
|
||||||
|
epatch "${FILESDIR}"/3.19_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