Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. --- NVIDIA-Linux-x86_64-331.38.orig/kernel/nv-acpi.c 2014-01-09 03:49:24.000000000 +0100
  2. +++ NVIDIA-Linux-x86_64-331.38/kernel/nv-acpi.c 2014-01-21 18:06:36.273400395 +0100
  3. @@ -303,7 +303,11 @@ static int nv_acpi_remove(struct acpi_de
  4.  
  5. if (pNvAcpiObject->notify_handler_installed)
  6. {
  7. + #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
  8. + /* beginning with 3.13, acpi_remove_notify_handler() waits for
  9. + events to finish */
  10. NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
  11. + #endif
  12.  
  13. // remove event notifier
  14. status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement