diff options
author | Len Brown <len.brown@intel.com> | 2007-02-16 22:11:21 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-16 22:11:21 -0500 |
commit | f0e5ed7f323db4e47b51da4a23fad8245c173081 (patch) | |
tree | 27f5ff70329a41bb2bce16813bcf8832ce75c2ff /drivers/acpi/events | |
parent | 8800c0ebf5e8363dab66647512dcef5b83203dec (diff) | |
parent | 5f7748cf91558a5026ded5be93c5bf6c1ac34edf (diff) |
Pull bugzilla-5534 into release branch
Diffstat (limited to 'drivers/acpi/events')
-rw-r--r-- | drivers/acpi/events/evmisc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c index 1b784ffe54c3..d572700197f3 100644 --- a/drivers/acpi/events/evmisc.c +++ b/drivers/acpi/events/evmisc.c | |||
@@ -196,12 +196,11 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node, | |||
196 | notify_info->notify.value = (u16) notify_value; | 196 | notify_info->notify.value = (u16) notify_value; |
197 | notify_info->notify.handler_obj = handler_obj; | 197 | notify_info->notify.handler_obj = handler_obj; |
198 | 198 | ||
199 | status = | 199 | acpi_ex_relinquish_interpreter(); |
200 | acpi_os_execute(OSL_NOTIFY_HANDLER, acpi_ev_notify_dispatch, | 200 | |
201 | notify_info); | 201 | acpi_ev_notify_dispatch(notify_info); |
202 | if (ACPI_FAILURE(status)) { | 202 | |
203 | acpi_ut_delete_generic_state(notify_info); | 203 | acpi_ex_reacquire_interpreter(); |
204 | } | ||
205 | } | 204 | } |
206 | 205 | ||
207 | if (!handler_obj) { | 206 | if (!handler_obj) { |