13 lines
329 B
Diff
13 lines
329 B
Diff
--- kernel/nv-linux.h 2015-06-26 15:17:49.851273250 +0300
|
|
+++ kernel/nv-linux.h 2015-06-26 15:22:51.119150159 +0300
|
|
@@ -1864,4 +1864,9 @@
|
|
#define f_dentry f_path.dentry
|
|
#endif
|
|
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)
|
|
+#define read_cr4 __read_cr4
|
|
+#define write_cr4 __write_cr4
|
|
+#endif
|
|
+
|
|
#endif /* _NV_LINUX_H_ */
|