Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 499092
Collapse All | Expand All

(-)kernel/nv-acpi.c.old (+3 lines)
Lines 303-309 Link Here
303
303
304
    if (pNvAcpiObject->notify_handler_installed)
304
    if (pNvAcpiObject->notify_handler_installed)
305
    {
305
    {
306
		#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
307
		/* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
306
        NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
308
        NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
309
		#endif
307
310
308
        // remove event notifier
311
        // remove event notifier
309
        status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
312
        status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);

Return to bug 499092