Skip to content
Snippets Groups Projects
Commit 40d07080 authored by Len Brown's avatar Len Brown
Browse files

Revert "Execute AML Notify() requests on stack."

This reverts commit 5f7748cf.

While that change fixed the HP
http://bugzilla.kernel.org/show_bug.cgi?id=5534

it broke the ACER:
http://bugzilla.kernel.org/show_bug.cgi?id=8385


which as AML that caused Linux go recursive
and stack fault.

So this commit by itself will restore the ACER
and again break the HP, which we'll fix another way.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 4d2acd9e
No related branches found
No related tags found
No related merge requests found
...@@ -196,11 +196,12 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node, ...@@ -196,11 +196,12 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node,
notify_info->notify.value = (u16) notify_value; notify_info->notify.value = (u16) notify_value;
notify_info->notify.handler_obj = handler_obj; notify_info->notify.handler_obj = handler_obj;
acpi_ex_relinquish_interpreter(); status =
acpi_os_execute(OSL_NOTIFY_HANDLER, acpi_ev_notify_dispatch,
acpi_ev_notify_dispatch(notify_info); notify_info);
if (ACPI_FAILURE(status)) {
acpi_ex_reacquire_interpreter(); acpi_ut_delete_generic_state(notify_info);
}
} }
if (!handler_obj) { if (!handler_obj) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment