]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia-legacy-340xx.git/blobdiff - linux-4.0.patch
up to 340.108
[packages/xorg-driver-video-nvidia-legacy-340xx.git] / linux-4.0.patch
diff --git a/linux-4.0.patch b/linux-4.0.patch
deleted file mode 100644 (file)
index ae77d13..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- NVIDIA-Linux-x86_64-346.35-no-compat32/kernel/nv-linux.h~  2015-01-11 05:30:46.000000000 +0100
-+++ NVIDIA-Linux-x86_64-346.35-no-compat32/kernel/nv-linux.h   2015-04-19 13:51:50.919754915 +0200
-@@ -336,6 +336,11 @@
- #define NV_SPIN_UNLOCK(lock)      spin_unlock(lock)
- #define NV_SPIN_UNLOCK_WAIT(lock) spin_unlock_wait(lock)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,17)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0)))
-+#define read_cr4 __read_cr4
-+#define write_cr4 __write_cr4
-+#endif
-+
- #if defined(NVCPU_X86)
- #ifndef write_cr4
- #define write_cr4(x) __asm__ ("movl %0,%%cr4" :: "r" (x));
This page took 0.06804 seconds and 4 git commands to generate.