diff options
Diffstat (limited to 'drivers/acpi/events/evmisc.c')
-rw-r--r-- | drivers/acpi/events/evmisc.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c index 78883239784a..0909ba69577e 100644 --- a/drivers/acpi/events/evmisc.c +++ b/drivers/acpi/events/evmisc.c | |||
@@ -303,7 +303,8 @@ static void ACPI_SYSTEM_XFACE acpi_ev_global_lock_thread(void *context) | |||
303 | acpi_os_signal_semaphore(acpi_gbl_global_lock_semaphore, | 303 | acpi_os_signal_semaphore(acpi_gbl_global_lock_semaphore, |
304 | acpi_gbl_global_lock_thread_count); | 304 | acpi_gbl_global_lock_thread_count); |
305 | if (ACPI_FAILURE(status)) { | 305 | if (ACPI_FAILURE(status)) { |
306 | ACPI_REPORT_ERROR(("Could not signal Global Lock semaphore\n")); | 306 | ACPI_ERROR((AE_INFO, |
307 | "Could not signal Global Lock semaphore")); | ||
307 | } | 308 | } |
308 | } | 309 | } |
309 | } | 310 | } |
@@ -344,7 +345,8 @@ static u32 acpi_ev_global_lock_handler(void *context) | |||
344 | acpi_ev_global_lock_thread, | 345 | acpi_ev_global_lock_thread, |
345 | context); | 346 | context); |
346 | if (ACPI_FAILURE(status)) { | 347 | if (ACPI_FAILURE(status)) { |
347 | ACPI_REPORT_ERROR(("Could not queue Global Lock thread, %s\n", acpi_format_exception(status))); | 348 | ACPI_EXCEPTION((AE_INFO, status, |
349 | "Could not queue Global Lock thread")); | ||
348 | 350 | ||
349 | return (ACPI_INTERRUPT_NOT_HANDLED); | 351 | return (ACPI_INTERRUPT_NOT_HANDLED); |
350 | } | 352 | } |
@@ -384,7 +386,8 @@ acpi_status acpi_ev_init_global_lock_handler(void) | |||
384 | * with an error. | 386 | * with an error. |
385 | */ | 387 | */ |
386 | if (status == AE_NO_HARDWARE_RESPONSE) { | 388 | if (status == AE_NO_HARDWARE_RESPONSE) { |
387 | ACPI_REPORT_ERROR(("No response from Global Lock hardware, disabling lock\n")); | 389 | ACPI_ERROR((AE_INFO, |
390 | "No response from Global Lock hardware, disabling lock")); | ||
388 | 391 | ||
389 | acpi_gbl_global_lock_present = FALSE; | 392 | acpi_gbl_global_lock_present = FALSE; |
390 | status = AE_OK; | 393 | status = AE_OK; |
@@ -480,7 +483,8 @@ acpi_status acpi_ev_release_global_lock(void) | |||
480 | ACPI_FUNCTION_TRACE("ev_release_global_lock"); | 483 | ACPI_FUNCTION_TRACE("ev_release_global_lock"); |
481 | 484 | ||
482 | if (!acpi_gbl_global_lock_thread_count) { | 485 | if (!acpi_gbl_global_lock_thread_count) { |
483 | ACPI_REPORT_WARNING(("Cannot release HW Global Lock, it has not been acquired\n")); | 486 | ACPI_WARNING((AE_INFO, |
487 | "Cannot release HW Global Lock, it has not been acquired")); | ||
484 | return_ACPI_STATUS(AE_NOT_ACQUIRED); | 488 | return_ACPI_STATUS(AE_NOT_ACQUIRED); |
485 | } | 489 | } |
486 | 490 | ||
@@ -542,7 +546,9 @@ void acpi_ev_terminate(void) | |||
542 | for (i = 0; i < ACPI_NUM_FIXED_EVENTS; i++) { | 546 | for (i = 0; i < ACPI_NUM_FIXED_EVENTS; i++) { |
543 | status = acpi_disable_event((u32) i, 0); | 547 | status = acpi_disable_event((u32) i, 0); |
544 | if (ACPI_FAILURE(status)) { | 548 | if (ACPI_FAILURE(status)) { |
545 | ACPI_REPORT_ERROR(("Could not disable fixed event %d\n", (u32) i)); | 549 | ACPI_ERROR((AE_INFO, |
550 | "Could not disable fixed event %d", | ||
551 | (u32) i)); | ||
546 | } | 552 | } |
547 | } | 553 | } |
548 | 554 | ||
@@ -554,7 +560,7 @@ void acpi_ev_terminate(void) | |||
554 | 560 | ||
555 | status = acpi_ev_remove_sci_handler(); | 561 | status = acpi_ev_remove_sci_handler(); |
556 | if (ACPI_FAILURE(status)) { | 562 | if (ACPI_FAILURE(status)) { |
557 | ACPI_REPORT_ERROR(("Could not remove SCI handler\n")); | 563 | ACPI_ERROR((AE_INFO, "Could not remove SCI handler")); |
558 | } | 564 | } |
559 | } | 565 | } |
560 | 566 | ||
@@ -567,7 +573,7 @@ void acpi_ev_terminate(void) | |||
567 | if (acpi_gbl_original_mode == ACPI_SYS_MODE_LEGACY) { | 573 | if (acpi_gbl_original_mode == ACPI_SYS_MODE_LEGACY) { |
568 | status = acpi_disable(); | 574 | status = acpi_disable(); |
569 | if (ACPI_FAILURE(status)) { | 575 | if (ACPI_FAILURE(status)) { |
570 | ACPI_REPORT_WARNING(("acpi_disable failed\n")); | 576 | ACPI_WARNING((AE_INFO, "acpi_disable failed")); |
571 | } | 577 | } |
572 | } | 578 | } |
573 | return_VOID; | 579 | return_VOID; |