From 4aeb0d8ad7dff9802312aff26f8e3d03adbce829 Mon Sep 17 00:00:00 2001 From: Alexey Starikovskiy Date: Thu, 15 Feb 2007 16:13:51 -0500 Subject: [PATCH] --- yaml --- r: 48713 b: refs/heads/master c: 5f7748cf91558a5026ded5be93c5bf6c1ac34edf h: refs/heads/master i: 48711: bc3a5f7c57ce3da90643e094dc7de05c3405e6d9 v: v3 --- [refs] | 2 +- trunk/drivers/acpi/events/evmisc.c | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 67127c754c19..53973bcc4486 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c0d127b56937c3e72c2b1819161d2f6718eee877 +refs/heads/master: 5f7748cf91558a5026ded5be93c5bf6c1ac34edf diff --git a/trunk/drivers/acpi/events/evmisc.c b/trunk/drivers/acpi/events/evmisc.c index 1b784ffe54c3..d572700197f3 100644 --- a/trunk/drivers/acpi/events/evmisc.c +++ b/trunk/drivers/acpi/events/evmisc.c @@ -196,12 +196,11 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node, notify_info->notify.value = (u16) notify_value; notify_info->notify.handler_obj = handler_obj; - status = - acpi_os_execute(OSL_NOTIFY_HANDLER, acpi_ev_notify_dispatch, - notify_info); - if (ACPI_FAILURE(status)) { - acpi_ut_delete_generic_state(notify_info); - } + acpi_ex_relinquish_interpreter(); + + acpi_ev_notify_dispatch(notify_info); + + acpi_ex_reacquire_interpreter(); } if (!handler_obj) {