Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161169990
D14400.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
733 B
Referenced Files
None
Subscribers
None
D14400.diff
View Options
Index: sys/amd64/acpica/acpi_machdep.c
===================================================================
--- sys/amd64/acpica/acpi_machdep.c
+++ sys/amd64/acpica/acpi_machdep.c
@@ -359,8 +359,6 @@
panic("failed to add acpi0 device");
error = bus_generic_attach(dev);
- if (error == 0)
- acpi_install_wakeup_handler(device_get_softc(acpi_dev));
return (error);
}
Index: sys/dev/acpica/acpi.c
===================================================================
--- sys/dev/acpica/acpi.c
+++ sys/dev/acpica/acpi.c
@@ -692,6 +692,10 @@
callout_reset(&acpi_sleep_timer, hz * ACPI_MINIMUM_AWAKETIME,
acpi_sleep_enable, sc);
+#ifdef __amd64__
+ acpi_install_wakeup_handler(sc);
+#endif
+
error = 0;
out:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 2, 5:38 AM (7 h, 44 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34587383
Default Alt Text
D14400.diff (733 B)
Attached To
Mode
D14400: acpi/amd64: fix attach of wakeup handler
Attached
Detach File
Event Timeline
Log In to Comment