diff options
Diffstat (limited to 'drivers/acpi/events/evevent.c')
-rw-r--r-- | drivers/acpi/events/evevent.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/drivers/acpi/events/evevent.c b/drivers/acpi/events/evevent.c index b380ae1044b7..c9ac05c4685f 100644 --- a/drivers/acpi/events/evevent.c +++ b/drivers/acpi/events/evevent.c | |||
@@ -73,7 +73,7 @@ acpi_status acpi_ev_initialize_events(void) | |||
73 | /* Make sure we have ACPI tables */ | 73 | /* Make sure we have ACPI tables */ |
74 | 74 | ||
75 | if (!acpi_gbl_DSDT) { | 75 | if (!acpi_gbl_DSDT) { |
76 | ACPI_REPORT_WARNING(("No ACPI tables present!\n")); | 76 | ACPI_WARNING((AE_INFO, "No ACPI tables present!")); |
77 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); | 77 | return_ACPI_STATUS(AE_NO_ACPI_TABLES); |
78 | } | 78 | } |
79 | 79 | ||
@@ -84,14 +84,15 @@ acpi_status acpi_ev_initialize_events(void) | |||
84 | */ | 84 | */ |
85 | status = acpi_ev_fixed_event_initialize(); | 85 | status = acpi_ev_fixed_event_initialize(); |
86 | if (ACPI_FAILURE(status)) { | 86 | if (ACPI_FAILURE(status)) { |
87 | ACPI_REPORT_ERROR(("Unable to initialize fixed events, %s\n", | 87 | ACPI_EXCEPTION((AE_INFO, status, |
88 | acpi_format_exception(status))); | 88 | "Unable to initialize fixed events")); |
89 | return_ACPI_STATUS(status); | 89 | return_ACPI_STATUS(status); |
90 | } | 90 | } |
91 | 91 | ||
92 | status = acpi_ev_gpe_initialize(); | 92 | status = acpi_ev_gpe_initialize(); |
93 | if (ACPI_FAILURE(status)) { | 93 | if (ACPI_FAILURE(status)) { |
94 | ACPI_REPORT_ERROR(("Unable to initialize general purpose events, %s\n", acpi_format_exception(status))); | 94 | ACPI_EXCEPTION((AE_INFO, status, |
95 | "Unable to initialize general purpose events")); | ||
95 | return_ACPI_STATUS(status); | 96 | return_ACPI_STATUS(status); |
96 | } | 97 | } |
97 | 98 | ||
@@ -162,7 +163,8 @@ acpi_status acpi_ev_install_xrupt_handlers(void) | |||
162 | 163 | ||
163 | status = acpi_ev_install_sci_handler(); | 164 | status = acpi_ev_install_sci_handler(); |
164 | if (ACPI_FAILURE(status)) { | 165 | if (ACPI_FAILURE(status)) { |
165 | ACPI_REPORT_ERROR(("Unable to install System Control Interrupt Handler, %s\n", acpi_format_exception(status))); | 166 | ACPI_EXCEPTION((AE_INFO, status, |
167 | "Unable to install System Control Interrupt handler")); | ||
166 | return_ACPI_STATUS(status); | 168 | return_ACPI_STATUS(status); |
167 | } | 169 | } |
168 | 170 | ||
@@ -170,7 +172,8 @@ acpi_status acpi_ev_install_xrupt_handlers(void) | |||
170 | 172 | ||
171 | status = acpi_ev_init_global_lock_handler(); | 173 | status = acpi_ev_init_global_lock_handler(); |
172 | if (ACPI_FAILURE(status)) { | 174 | if (ACPI_FAILURE(status)) { |
173 | ACPI_REPORT_ERROR(("Unable to initialize Global Lock handler, %s\n", acpi_format_exception(status))); | 175 | ACPI_EXCEPTION((AE_INFO, status, |
176 | "Unable to initialize Global Lock handler")); | ||
174 | return_ACPI_STATUS(status); | 177 | return_ACPI_STATUS(status); |
175 | } | 178 | } |
176 | 179 | ||
@@ -304,7 +307,9 @@ static u32 acpi_ev_fixed_event_dispatch(u32 event) | |||
304 | enable_register_id, 0, | 307 | enable_register_id, 0, |
305 | ACPI_MTX_DO_NOT_LOCK); | 308 | ACPI_MTX_DO_NOT_LOCK); |
306 | 309 | ||
307 | ACPI_REPORT_ERROR(("No installed handler for fixed event [%08X]\n", event)); | 310 | ACPI_ERROR((AE_INFO, |
311 | "No installed handler for fixed event [%08X]", | ||
312 | event)); | ||
308 | 313 | ||
309 | return (ACPI_INTERRUPT_NOT_HANDLED); | 314 | return (ACPI_INTERRUPT_NOT_HANDLED); |
310 | } | 315 | } |