summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/173.14.39-kernel-3.13.patch')
-rw-r--r--x11-drivers/nvidia-drivers/files/173.14.39-kernel-3.13.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/files/173.14.39-kernel-3.13.patch b/x11-drivers/nvidia-drivers/files/173.14.39-kernel-3.13.patch
new file mode 100644
index 00000000..a11b3cb2
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/files/173.14.39-kernel-3.13.patch
@@ -0,0 +1,12 @@
+--- 1/usr/src/nv/nvacpi.c
++++ 1/usr/src/nv/nvacpi.c
+@@ -259,7 +259,9 @@ static int nv_acpi_remove(struct acpi_device *device, int type)
+
+ if (pNvAcpiObject->notify_handler_installed)
+ {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
+ NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
++#endif
+
+ // remove event notifier
+ status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);