nvidia-drivers 331.113 && Linux 3.19 support.

This commit is contained in:
Kolan Sh 2015-04-22 11:13:35 +03:00
parent 2a5901b24b
commit 98f5b1beae
2 changed files with 15 additions and 0 deletions

View File

@ -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_ */

View File

@ -176,6 +176,10 @@ src_prepare() {
epatch "${FILESDIR}"/3.18_kernel.patch
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=
# convert_to_m "${NV_SRC}"/Makefile.kbuild
fi