diff options
Diffstat (limited to 'drivers/acpi/events/evmisc.c')
-rw-r--r-- | drivers/acpi/events/evmisc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c index 97e05481aa7c..24e0b8d36f31 100644 --- a/drivers/acpi/events/evmisc.c +++ b/drivers/acpi/events/evmisc.c | |||
@@ -191,9 +191,8 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node, | |||
191 | notify_info->notify.value = (u16) notify_value; | 191 | notify_info->notify.value = (u16) notify_value; |
192 | notify_info->notify.handler_obj = handler_obj; | 192 | notify_info->notify.handler_obj = handler_obj; |
193 | 193 | ||
194 | status = acpi_os_queue_for_execution(OSD_PRIORITY_HIGH, | 194 | status = acpi_os_execute(OSL_NOTIFY_HANDLER, |
195 | acpi_ev_notify_dispatch, | 195 | acpi_ev_notify_dispatch, notify_info); |
196 | notify_info); | ||
197 | if (ACPI_FAILURE(status)) { | 196 | if (ACPI_FAILURE(status)) { |
198 | acpi_ut_delete_generic_state(notify_info); | 197 | acpi_ut_delete_generic_state(notify_info); |
199 | } | 198 | } |
@@ -346,9 +345,8 @@ static u32 acpi_ev_global_lock_handler(void *context) | |||
346 | 345 | ||
347 | /* Run the Global Lock thread which will signal all waiting threads */ | 346 | /* Run the Global Lock thread which will signal all waiting threads */ |
348 | 347 | ||
349 | status = acpi_os_queue_for_execution(OSD_PRIORITY_HIGH, | 348 | status = acpi_os_execute(OSL_GLOBAL_LOCK_HANDLER, |
350 | acpi_ev_global_lock_thread, | 349 | acpi_ev_global_lock_thread, context); |
351 | context); | ||
352 | if (ACPI_FAILURE(status)) { | 350 | if (ACPI_FAILURE(status)) { |
353 | ACPI_EXCEPTION((AE_INFO, status, | 351 | ACPI_EXCEPTION((AE_INFO, status, |
354 | "Could not queue Global Lock thread")); | 352 | "Could not queue Global Lock thread")); |