diff options
Diffstat (limited to 'drivers/acpi/events/evgpeblk.c')
-rw-r--r-- | drivers/acpi/events/evgpeblk.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/drivers/acpi/events/evgpeblk.c b/drivers/acpi/events/evgpeblk.c index 4e90c1f837c3..95ddeb48bc0f 100644 --- a/drivers/acpi/events/evgpeblk.c +++ b/drivers/acpi/events/evgpeblk.c | |||
@@ -138,7 +138,7 @@ acpi_status acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback) | |||
138 | acpi_status status = AE_OK; | 138 | acpi_status status = AE_OK; |
139 | acpi_cpu_flags flags; | 139 | acpi_cpu_flags flags; |
140 | 140 | ||
141 | ACPI_FUNCTION_TRACE("ev_walk_gpe_list"); | 141 | ACPI_FUNCTION_TRACE(ev_walk_gpe_list); |
142 | 142 | ||
143 | flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock); | 143 | flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock); |
144 | 144 | ||
@@ -192,7 +192,7 @@ acpi_ev_delete_gpe_handlers(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | |||
192 | acpi_native_uint i; | 192 | acpi_native_uint i; |
193 | acpi_native_uint j; | 193 | acpi_native_uint j; |
194 | 194 | ||
195 | ACPI_FUNCTION_TRACE("ev_delete_gpe_handlers"); | 195 | ACPI_FUNCTION_TRACE(ev_delete_gpe_handlers); |
196 | 196 | ||
197 | /* Examine each GPE Register within the block */ | 197 | /* Examine each GPE Register within the block */ |
198 | 198 | ||
@@ -251,7 +251,7 @@ acpi_ev_save_method_info(acpi_handle obj_handle, | |||
251 | u8 type; | 251 | u8 type; |
252 | acpi_status status; | 252 | acpi_status status; |
253 | 253 | ||
254 | ACPI_FUNCTION_TRACE("ev_save_method_info"); | 254 | ACPI_FUNCTION_TRACE(ev_save_method_info); |
255 | 255 | ||
256 | /* | 256 | /* |
257 | * _Lxx and _Exx GPE method support | 257 | * _Lxx and _Exx GPE method support |
@@ -282,9 +282,9 @@ acpi_ev_save_method_info(acpi_handle obj_handle, | |||
282 | default: | 282 | default: |
283 | /* Unknown method type, just ignore it! */ | 283 | /* Unknown method type, just ignore it! */ |
284 | 284 | ||
285 | ACPI_ERROR((AE_INFO, | 285 | ACPI_DEBUG_PRINT((ACPI_DB_LOAD, |
286 | "Unknown GPE method type: %s (name not of form _Lxx or _Exx)", | 286 | "Ignoring unknown GPE method type: %s (name not of form _Lxx or _Exx)", |
287 | name)); | 287 | name)); |
288 | return_ACPI_STATUS(AE_OK); | 288 | return_ACPI_STATUS(AE_OK); |
289 | } | 289 | } |
290 | 290 | ||
@@ -295,9 +295,9 @@ acpi_ev_save_method_info(acpi_handle obj_handle, | |||
295 | 295 | ||
296 | /* Conversion failed; invalid method, just ignore it */ | 296 | /* Conversion failed; invalid method, just ignore it */ |
297 | 297 | ||
298 | ACPI_ERROR((AE_INFO, | 298 | ACPI_DEBUG_PRINT((ACPI_DB_LOAD, |
299 | "Could not extract GPE number from name: %s (name is not of form _Lxx or _Exx)", | 299 | "Could not extract GPE number from name: %s (name is not of form _Lxx or _Exx)", |
300 | name)); | 300 | name)); |
301 | return_ACPI_STATUS(AE_OK); | 301 | return_ACPI_STATUS(AE_OK); |
302 | } | 302 | } |
303 | 303 | ||
@@ -368,7 +368,7 @@ acpi_ev_match_prw_and_gpe(acpi_handle obj_handle, | |||
368 | u32 gpe_number; | 368 | u32 gpe_number; |
369 | acpi_status status; | 369 | acpi_status status; |
370 | 370 | ||
371 | ACPI_FUNCTION_TRACE("ev_match_prw_and_gpe"); | 371 | ACPI_FUNCTION_TRACE(ev_match_prw_and_gpe); |
372 | 372 | ||
373 | /* Check for a _PRW method under this device */ | 373 | /* Check for a _PRW method under this device */ |
374 | 374 | ||
@@ -489,7 +489,7 @@ static struct acpi_gpe_xrupt_info *acpi_ev_get_gpe_xrupt_block(u32 | |||
489 | acpi_status status; | 489 | acpi_status status; |
490 | acpi_cpu_flags flags; | 490 | acpi_cpu_flags flags; |
491 | 491 | ||
492 | ACPI_FUNCTION_TRACE("ev_get_gpe_xrupt_block"); | 492 | ACPI_FUNCTION_TRACE(ev_get_gpe_xrupt_block); |
493 | 493 | ||
494 | /* No need for lock since we are not changing any list elements here */ | 494 | /* No need for lock since we are not changing any list elements here */ |
495 | 495 | ||
@@ -563,7 +563,7 @@ acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt) | |||
563 | acpi_status status; | 563 | acpi_status status; |
564 | acpi_cpu_flags flags; | 564 | acpi_cpu_flags flags; |
565 | 565 | ||
566 | ACPI_FUNCTION_TRACE("ev_delete_gpe_xrupt"); | 566 | ACPI_FUNCTION_TRACE(ev_delete_gpe_xrupt); |
567 | 567 | ||
568 | /* We never want to remove the SCI interrupt handler */ | 568 | /* We never want to remove the SCI interrupt handler */ |
569 | 569 | ||
@@ -621,7 +621,7 @@ acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block, | |||
621 | acpi_status status; | 621 | acpi_status status; |
622 | acpi_cpu_flags flags; | 622 | acpi_cpu_flags flags; |
623 | 623 | ||
624 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); | 624 | ACPI_FUNCTION_TRACE(ev_install_gpe_block); |
625 | 625 | ||
626 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); | 626 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); |
627 | if (ACPI_FAILURE(status)) { | 627 | if (ACPI_FAILURE(status)) { |
@@ -674,7 +674,7 @@ acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block) | |||
674 | acpi_status status; | 674 | acpi_status status; |
675 | acpi_cpu_flags flags; | 675 | acpi_cpu_flags flags; |
676 | 676 | ||
677 | ACPI_FUNCTION_TRACE("ev_install_gpe_block"); | 677 | ACPI_FUNCTION_TRACE(ev_install_gpe_block); |
678 | 678 | ||
679 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); | 679 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); |
680 | if (ACPI_FAILURE(status)) { | 680 | if (ACPI_FAILURE(status)) { |
@@ -744,7 +744,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block) | |||
744 | acpi_native_uint j; | 744 | acpi_native_uint j; |
745 | acpi_status status; | 745 | acpi_status status; |
746 | 746 | ||
747 | ACPI_FUNCTION_TRACE("ev_create_gpe_info_blocks"); | 747 | ACPI_FUNCTION_TRACE(ev_create_gpe_info_blocks); |
748 | 748 | ||
749 | /* Allocate the GPE register information block */ | 749 | /* Allocate the GPE register information block */ |
750 | 750 | ||
@@ -754,7 +754,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block) | |||
754 | acpi_gpe_register_info)); | 754 | acpi_gpe_register_info)); |
755 | if (!gpe_register_info) { | 755 | if (!gpe_register_info) { |
756 | ACPI_ERROR((AE_INFO, | 756 | ACPI_ERROR((AE_INFO, |
757 | "Could not allocate the gpe_register_info table")); | 757 | "Could not allocate the GpeRegisterInfo table")); |
758 | return_ACPI_STATUS(AE_NO_MEMORY); | 758 | return_ACPI_STATUS(AE_NO_MEMORY); |
759 | } | 759 | } |
760 | 760 | ||
@@ -769,7 +769,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block) | |||
769 | acpi_gpe_event_info)); | 769 | acpi_gpe_event_info)); |
770 | if (!gpe_event_info) { | 770 | if (!gpe_event_info) { |
771 | ACPI_ERROR((AE_INFO, | 771 | ACPI_ERROR((AE_INFO, |
772 | "Could not allocate the gpe_event_info table")); | 772 | "Could not allocate the GpeEventInfo table")); |
773 | status = AE_NO_MEMORY; | 773 | status = AE_NO_MEMORY; |
774 | goto error_exit; | 774 | goto error_exit; |
775 | } | 775 | } |
@@ -888,7 +888,7 @@ acpi_ev_create_gpe_block(struct acpi_namespace_node *gpe_device, | |||
888 | acpi_status status; | 888 | acpi_status status; |
889 | struct acpi_gpe_block_info *gpe_block; | 889 | struct acpi_gpe_block_info *gpe_block; |
890 | 890 | ||
891 | ACPI_FUNCTION_TRACE("ev_create_gpe_block"); | 891 | ACPI_FUNCTION_TRACE(ev_create_gpe_block); |
892 | 892 | ||
893 | if (!register_count) { | 893 | if (!register_count) { |
894 | return_ACPI_STATUS(AE_OK); | 894 | return_ACPI_STATUS(AE_OK); |
@@ -981,7 +981,7 @@ acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device, | |||
981 | acpi_native_uint i; | 981 | acpi_native_uint i; |
982 | acpi_native_uint j; | 982 | acpi_native_uint j; |
983 | 983 | ||
984 | ACPI_FUNCTION_TRACE("ev_initialize_gpe_block"); | 984 | ACPI_FUNCTION_TRACE(ev_initialize_gpe_block); |
985 | 985 | ||
986 | /* Ignore a null GPE block (e.g., if no GPE block 1 exists) */ | 986 | /* Ignore a null GPE block (e.g., if no GPE block 1 exists) */ |
987 | 987 | ||
@@ -1051,7 +1051,7 @@ acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device, | |||
1051 | 1051 | ||
1052 | status = acpi_hw_enable_runtime_gpe_block(NULL, gpe_block); | 1052 | status = acpi_hw_enable_runtime_gpe_block(NULL, gpe_block); |
1053 | if (ACPI_FAILURE(status)) { | 1053 | if (ACPI_FAILURE(status)) { |
1054 | ACPI_ERROR((AE_INFO, "Could not enable GPEs in gpe_block %p", | 1054 | ACPI_ERROR((AE_INFO, "Could not enable GPEs in GpeBlock %p", |
1055 | gpe_block)); | 1055 | gpe_block)); |
1056 | } | 1056 | } |
1057 | 1057 | ||
@@ -1077,7 +1077,7 @@ acpi_status acpi_ev_gpe_initialize(void) | |||
1077 | u32 gpe_number_max = 0; | 1077 | u32 gpe_number_max = 0; |
1078 | acpi_status status; | 1078 | acpi_status status; |
1079 | 1079 | ||
1080 | ACPI_FUNCTION_TRACE("ev_gpe_initialize"); | 1080 | ACPI_FUNCTION_TRACE(ev_gpe_initialize); |
1081 | 1081 | ||
1082 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); | 1082 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); |
1083 | if (ACPI_FAILURE(status)) { | 1083 | if (ACPI_FAILURE(status)) { |