summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/events/evmisc.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-05-10 02:49:21 -0400
committerLen Brown <len.brown@intel.com>2007-05-10 02:49:21 -0400
commit3dd6786f55219f87fd33e153669600d715ca9270 (patch)
tree305f8389a93bf86df79f4cf8fb0050b1d6008939 /drivers/acpi/events/evmisc.c
parentf697b677620d04d8c77841745727de85f7e948b1 (diff)
parent88db5e1489f23876a226f5393fd978ddc09dc5f9 (diff)
downloadkernel-crypto-3dd6786f55219f87fd33e153669600d715ca9270.tar.gz
kernel-crypto-3dd6786f55219f87fd33e153669600d715ca9270.tar.xz
kernel-crypto-3dd6786f55219f87fd33e153669600d715ca9270.zip
Pull bugzilla-8385 into release branch
Diffstat (limited to 'drivers/acpi/events/evmisc.c')
-rw-r--r--drivers/acpi/events/evmisc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c
index cae786ca860..ad447b1d97a 100644
--- a/drivers/acpi/events/evmisc.c
+++ b/drivers/acpi/events/evmisc.c
@@ -196,15 +196,12 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node,
notify_info->notify.value = (u16) notify_value;
notify_info->notify.handler_obj = handler_obj;
- acpi_ex_exit_interpreter();
-
- acpi_ev_notify_dispatch(notify_info);
-
- status = acpi_ex_enter_interpreter();
+ status =
+ acpi_os_execute(OSL_NOTIFY_HANDLER, acpi_ev_notify_dispatch,
+ notify_info);
if (ACPI_FAILURE(status)) {
- return_ACPI_STATUS(status);
+ acpi_ut_delete_generic_state(notify_info);
}
-
}
if (!handler_obj) {