diff options
author | Bob Moore <robert.moore@intel.com> | 2006-04-21 17:15:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-14 02:30:55 -0400 |
commit | b229cf92eee616c7cb5ad8cdb35a19b119f00bc8 (patch) | |
tree | 74b52bec6ec029859c2320aba227290a503af31a /drivers/acpi/events | |
parent | 793c2388cae3fd023b3b5166354931752d42353c (diff) |
ACPI: ACPICA 20060421
Removed a device initialization optimization introduced in
20051216 where the _STA method was not run unless an _INI
was also present for the same device. This optimization
could cause problems because it could allow _INI methods
to be run within a not-present device subtree (If a
not-present device had no _INI, _STA would not be run,
the not-present status would not be discovered, and the
children of the device would be incorrectly traversed.)
Implemented a new _STA optimization where namespace
subtrees that do not contain _INI are identified and
ignored during device initialization. Selectively running
_STA can significantly improve boot time on large machines
(with assistance from Len Brown.)
Implemented support for the device initialization case
where the returned _STA flags indicate a device not-present
but functioning. In this case, _INI is not run, but the
device children are examined for presence, as per the
ACPI specification.
Implemented an additional change to the IndexField support
in order to conform to MS behavior. The value written to
the Index Register is not simply a byte offset, it is a
byte offset in units of the access width of the parent
Index Field. (Fiodor Suietov)
Defined and deployed a new OSL interface,
acpi_os_validate_address(). This interface is called during
the creation of all AML operation regions, and allows
the host OS to exert control over what addresses it will
allow the AML code to access. Operation Regions whose
addresses are disallowed will cause a runtime exception
when they are actually accessed (will not affect or abort
table loading.)
Defined and deployed a new OSL interface,
acpi_os_validate_interface(). This interface allows the host OS
to match the various "optional" interface/behavior strings
for the _OSI predefined control method as appropriate
(with assistance from Bjorn Helgaas.)
Restructured and corrected various problems in the
exception handling code paths within DsCallControlMethod
and DsTerminateControlMethod in dsmethod (with assistance
from Takayoshi Kochi.)
Modified the Linux source converter to ignore quoted string
literals while converting identifiers from mixed to lower
case. This will correct problems with the disassembler
and other areas where such strings must not be modified.
The ACPI_FUNCTION_* macros no longer require quotes around
the function name. This allows the Linux source converter
to convert the names, now that the converter ignores
quoted strings.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/events')
-rw-r--r-- | drivers/acpi/events/evevent.c | 8 | ||||
-rw-r--r-- | drivers/acpi/events/evgpe.c | 18 | ||||
-rw-r--r-- | drivers/acpi/events/evgpeblk.c | 42 | ||||
-rw-r--r-- | drivers/acpi/events/evmisc.c | 12 | ||||
-rw-r--r-- | drivers/acpi/events/evregion.c | 18 | ||||
-rw-r--r-- | drivers/acpi/events/evrgnini.c | 18 | ||||
-rw-r--r-- | drivers/acpi/events/evsci.c | 8 | ||||
-rw-r--r-- | drivers/acpi/events/evxface.c | 14 | ||||
-rw-r--r-- | drivers/acpi/events/evxfevnt.c | 26 | ||||
-rw-r--r-- | drivers/acpi/events/evxfregn.c | 6 |
10 files changed, 85 insertions, 85 deletions
diff --git a/drivers/acpi/events/evevent.c b/drivers/acpi/events/evevent.c index c8d9752e3128..919037d6acff 100644 --- a/drivers/acpi/events/evevent.c +++ b/drivers/acpi/events/evevent.c | |||
@@ -68,7 +68,7 @@ acpi_status acpi_ev_initialize_events(void) | |||
68 | { | 68 | { |
69 | acpi_status status; | 69 | acpi_status status; |
70 | 70 | ||
71 | ACPI_FUNCTION_TRACE("ev_initialize_events"); | 71 | ACPI_FUNCTION_TRACE(ev_initialize_events); |
72 | 72 | ||
73 | /* Make sure we have ACPI tables */ | 73 | /* Make sure we have ACPI tables */ |
74 | 74 | ||
@@ -118,7 +118,7 @@ acpi_status acpi_ev_install_fadt_gpes(void) | |||
118 | { | 118 | { |
119 | acpi_status status; | 119 | acpi_status status; |
120 | 120 | ||
121 | ACPI_FUNCTION_TRACE("ev_install_fadt_gpes"); | 121 | ACPI_FUNCTION_TRACE(ev_install_fadt_gpes); |
122 | 122 | ||
123 | /* Namespace must be locked */ | 123 | /* Namespace must be locked */ |
124 | 124 | ||
@@ -157,7 +157,7 @@ acpi_status acpi_ev_install_xrupt_handlers(void) | |||
157 | { | 157 | { |
158 | acpi_status status; | 158 | acpi_status status; |
159 | 159 | ||
160 | ACPI_FUNCTION_TRACE("ev_install_xrupt_handlers"); | 160 | ACPI_FUNCTION_TRACE(ev_install_xrupt_handlers); |
161 | 161 | ||
162 | /* Install the SCI handler */ | 162 | /* Install the SCI handler */ |
163 | 163 | ||
@@ -241,7 +241,7 @@ u32 acpi_ev_fixed_event_detect(void) | |||
241 | u32 fixed_enable; | 241 | u32 fixed_enable; |
242 | acpi_native_uint i; | 242 | acpi_native_uint i; |
243 | 243 | ||
244 | ACPI_FUNCTION_NAME("ev_fixed_event_detect"); | 244 | ACPI_FUNCTION_NAME(ev_fixed_event_detect); |
245 | 245 | ||
246 | /* | 246 | /* |
247 | * Read the fixed feature status and enable registers, as all the cases | 247 | * Read the fixed feature status and enable registers, as all the cases |
diff --git a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c index 7d7b81af972e..25fd12a29a29 100644 --- a/drivers/acpi/events/evgpe.c +++ b/drivers/acpi/events/evgpe.c | |||
@@ -69,7 +69,7 @@ acpi_ev_set_gpe_type(struct acpi_gpe_event_info *gpe_event_info, u8 type) | |||
69 | { | 69 | { |
70 | acpi_status status; | 70 | acpi_status status; |
71 | 71 | ||
72 | ACPI_FUNCTION_TRACE("ev_set_gpe_type"); | 72 | ACPI_FUNCTION_TRACE(ev_set_gpe_type); |
73 | 73 | ||
74 | /* Validate type and update register enable masks */ | 74 | /* Validate type and update register enable masks */ |
75 | 75 | ||
@@ -115,7 +115,7 @@ acpi_ev_update_gpe_enable_masks(struct acpi_gpe_event_info *gpe_event_info, | |||
115 | struct acpi_gpe_register_info *gpe_register_info; | 115 | struct acpi_gpe_register_info *gpe_register_info; |
116 | u8 register_bit; | 116 | u8 register_bit; |
117 | 117 | ||
118 | ACPI_FUNCTION_TRACE("ev_update_gpe_enable_masks"); | 118 | ACPI_FUNCTION_TRACE(ev_update_gpe_enable_masks); |
119 | 119 | ||
120 | gpe_register_info = gpe_event_info->register_info; | 120 | gpe_register_info = gpe_event_info->register_info; |
121 | if (!gpe_register_info) { | 121 | if (!gpe_register_info) { |
@@ -178,7 +178,7 @@ acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info, | |||
178 | { | 178 | { |
179 | acpi_status status; | 179 | acpi_status status; |
180 | 180 | ||
181 | ACPI_FUNCTION_TRACE("ev_enable_gpe"); | 181 | ACPI_FUNCTION_TRACE(ev_enable_gpe); |
182 | 182 | ||
183 | /* Make sure HW enable masks are updated */ | 183 | /* Make sure HW enable masks are updated */ |
184 | 184 | ||
@@ -244,7 +244,7 @@ acpi_status acpi_ev_disable_gpe(struct acpi_gpe_event_info *gpe_event_info) | |||
244 | { | 244 | { |
245 | acpi_status status; | 245 | acpi_status status; |
246 | 246 | ||
247 | ACPI_FUNCTION_TRACE("ev_disable_gpe"); | 247 | ACPI_FUNCTION_TRACE(ev_disable_gpe); |
248 | 248 | ||
249 | if (!(gpe_event_info->flags & ACPI_GPE_ENABLE_MASK)) { | 249 | if (!(gpe_event_info->flags & ACPI_GPE_ENABLE_MASK)) { |
250 | return_ACPI_STATUS(AE_OK); | 250 | return_ACPI_STATUS(AE_OK); |
@@ -385,7 +385,7 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list) | |||
385 | acpi_native_uint i; | 385 | acpi_native_uint i; |
386 | acpi_native_uint j; | 386 | acpi_native_uint j; |
387 | 387 | ||
388 | ACPI_FUNCTION_NAME("ev_gpe_detect"); | 388 | ACPI_FUNCTION_NAME(ev_gpe_detect); |
389 | 389 | ||
390 | /* Check for the case where there are no GPEs */ | 390 | /* Check for the case where there are no GPEs */ |
391 | 391 | ||
@@ -504,7 +504,7 @@ static void ACPI_SYSTEM_XFACE acpi_ev_asynch_execute_gpe_method(void *context) | |||
504 | struct acpi_gpe_event_info local_gpe_event_info; | 504 | struct acpi_gpe_event_info local_gpe_event_info; |
505 | struct acpi_parameter_info info; | 505 | struct acpi_parameter_info info; |
506 | 506 | ||
507 | ACPI_FUNCTION_TRACE("ev_asynch_execute_gpe_method"); | 507 | ACPI_FUNCTION_TRACE(ev_asynch_execute_gpe_method); |
508 | 508 | ||
509 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); | 509 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); |
510 | if (ACPI_FAILURE(status)) { | 510 | if (ACPI_FAILURE(status)) { |
@@ -598,7 +598,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
598 | { | 598 | { |
599 | acpi_status status; | 599 | acpi_status status; |
600 | 600 | ||
601 | ACPI_FUNCTION_TRACE("ev_gpe_dispatch"); | 601 | ACPI_FUNCTION_TRACE(ev_gpe_dispatch); |
602 | 602 | ||
603 | /* | 603 | /* |
604 | * If edge-triggered, clear the GPE status bit now. Note that | 604 | * If edge-triggered, clear the GPE status bit now. Note that |
@@ -721,7 +721,7 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number) | |||
721 | * | 721 | * |
722 | * DESCRIPTION: Determine if a a GPE is "wake-only". | 722 | * DESCRIPTION: Determine if a a GPE is "wake-only". |
723 | * | 723 | * |
724 | * Called from Notify() code in interpreter when a "device_wake" | 724 | * Called from Notify() code in interpreter when a "DeviceWake" |
725 | * Notify comes in. | 725 | * Notify comes in. |
726 | * | 726 | * |
727 | ******************************************************************************/ | 727 | ******************************************************************************/ |
@@ -731,7 +731,7 @@ acpi_ev_check_for_wake_only_gpe(struct acpi_gpe_event_info *gpe_event_info) | |||
731 | { | 731 | { |
732 | acpi_status status; | 732 | acpi_status status; |
733 | 733 | ||
734 | ACPI_FUNCTION_TRACE("ev_check_for_wake_only_gpe"); | 734 | ACPI_FUNCTION_TRACE(ev_check_for_wake_only_gpe); |
735 | 735 | ||
736 | if ((gpe_event_info) && /* Only >0 for _Lxx/_Exx */ | 736 | if ((gpe_event_info) && /* Only >0 for _Lxx/_Exx */ |
737 | ((gpe_event_info->flags & ACPI_GPE_SYSTEM_MASK) == ACPI_GPE_SYSTEM_RUNNING)) { /* System state at GPE time */ | 737 | ((gpe_event_info->flags & ACPI_GPE_SYSTEM_MASK) == ACPI_GPE_SYSTEM_RUNNING)) { /* System state at GPE time */ |
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)) { |
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c index b216b3229e27..97e05481aa7c 100644 --- a/drivers/acpi/events/evmisc.c +++ b/drivers/acpi/events/evmisc.c | |||
@@ -124,7 +124,7 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node, | |||
124 | union acpi_generic_state *notify_info; | 124 | union acpi_generic_state *notify_info; |
125 | acpi_status status = AE_OK; | 125 | acpi_status status = AE_OK; |
126 | 126 | ||
127 | ACPI_FUNCTION_NAME("ev_queue_notify_request"); | 127 | ACPI_FUNCTION_NAME(ev_queue_notify_request); |
128 | 128 | ||
129 | /* | 129 | /* |
130 | * For value 3 (Ejection Request), some device method may need to be run. | 130 | * For value 3 (Ejection Request), some device method may need to be run. |
@@ -376,7 +376,7 @@ acpi_status acpi_ev_init_global_lock_handler(void) | |||
376 | { | 376 | { |
377 | acpi_status status; | 377 | acpi_status status; |
378 | 378 | ||
379 | ACPI_FUNCTION_TRACE("ev_init_global_lock_handler"); | 379 | ACPI_FUNCTION_TRACE(ev_init_global_lock_handler); |
380 | 380 | ||
381 | acpi_gbl_global_lock_present = TRUE; | 381 | acpi_gbl_global_lock_present = TRUE; |
382 | status = acpi_install_fixed_event_handler(ACPI_EVENT_GLOBAL, | 382 | status = acpi_install_fixed_event_handler(ACPI_EVENT_GLOBAL, |
@@ -418,7 +418,7 @@ acpi_status acpi_ev_acquire_global_lock(u16 timeout) | |||
418 | acpi_status status = AE_OK; | 418 | acpi_status status = AE_OK; |
419 | u8 acquired = FALSE; | 419 | u8 acquired = FALSE; |
420 | 420 | ||
421 | ACPI_FUNCTION_TRACE("ev_acquire_global_lock"); | 421 | ACPI_FUNCTION_TRACE(ev_acquire_global_lock); |
422 | 422 | ||
423 | #ifndef ACPI_APPLICATION | 423 | #ifndef ACPI_APPLICATION |
424 | /* Make sure that we actually have a global lock */ | 424 | /* Make sure that we actually have a global lock */ |
@@ -486,7 +486,7 @@ acpi_status acpi_ev_release_global_lock(void) | |||
486 | u8 pending = FALSE; | 486 | u8 pending = FALSE; |
487 | acpi_status status = AE_OK; | 487 | acpi_status status = AE_OK; |
488 | 488 | ||
489 | ACPI_FUNCTION_TRACE("ev_release_global_lock"); | 489 | ACPI_FUNCTION_TRACE(ev_release_global_lock); |
490 | 490 | ||
491 | if (!acpi_gbl_global_lock_thread_count) { | 491 | if (!acpi_gbl_global_lock_thread_count) { |
492 | ACPI_WARNING((AE_INFO, | 492 | ACPI_WARNING((AE_INFO, |
@@ -540,7 +540,7 @@ void acpi_ev_terminate(void) | |||
540 | acpi_native_uint i; | 540 | acpi_native_uint i; |
541 | acpi_status status; | 541 | acpi_status status; |
542 | 542 | ||
543 | ACPI_FUNCTION_TRACE("ev_terminate"); | 543 | ACPI_FUNCTION_TRACE(ev_terminate); |
544 | 544 | ||
545 | if (acpi_gbl_events_initialized) { | 545 | if (acpi_gbl_events_initialized) { |
546 | /* | 546 | /* |
@@ -580,7 +580,7 @@ void acpi_ev_terminate(void) | |||
580 | if (acpi_gbl_original_mode == ACPI_SYS_MODE_LEGACY) { | 580 | if (acpi_gbl_original_mode == ACPI_SYS_MODE_LEGACY) { |
581 | status = acpi_disable(); | 581 | status = acpi_disable(); |
582 | if (ACPI_FAILURE(status)) { | 582 | if (ACPI_FAILURE(status)) { |
583 | ACPI_WARNING((AE_INFO, "acpi_disable failed")); | 583 | ACPI_WARNING((AE_INFO, "AcpiDisable failed")); |
584 | } | 584 | } |
585 | } | 585 | } |
586 | return_VOID; | 586 | return_VOID; |
diff --git a/drivers/acpi/events/evregion.c b/drivers/acpi/events/evregion.c index 0337ad222b26..eb29e96f053c 100644 --- a/drivers/acpi/events/evregion.c +++ b/drivers/acpi/events/evregion.c | |||
@@ -83,7 +83,7 @@ acpi_status acpi_ev_install_region_handlers(void) | |||
83 | acpi_status status; | 83 | acpi_status status; |
84 | acpi_native_uint i; | 84 | acpi_native_uint i; |
85 | 85 | ||
86 | ACPI_FUNCTION_TRACE("ev_install_region_handlers"); | 86 | ACPI_FUNCTION_TRACE(ev_install_region_handlers); |
87 | 87 | ||
88 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); | 88 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); |
89 | if (ACPI_FAILURE(status)) { | 89 | if (ACPI_FAILURE(status)) { |
@@ -153,7 +153,7 @@ acpi_status acpi_ev_initialize_op_regions(void) | |||
153 | acpi_status status; | 153 | acpi_status status; |
154 | acpi_native_uint i; | 154 | acpi_native_uint i; |
155 | 155 | ||
156 | ACPI_FUNCTION_TRACE("ev_initialize_op_regions"); | 156 | ACPI_FUNCTION_TRACE(ev_initialize_op_regions); |
157 | 157 | ||
158 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); | 158 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); |
159 | if (ACPI_FAILURE(status)) { | 159 | if (ACPI_FAILURE(status)) { |
@@ -198,7 +198,7 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function) | |||
198 | union acpi_operand_object *region_obj2; | 198 | union acpi_operand_object *region_obj2; |
199 | acpi_status status; | 199 | acpi_status status; |
200 | 200 | ||
201 | ACPI_FUNCTION_TRACE("ev_execute_reg_method"); | 201 | ACPI_FUNCTION_TRACE(ev_execute_reg_method); |
202 | 202 | ||
203 | region_obj2 = acpi_ns_get_secondary_object(region_obj); | 203 | region_obj2 = acpi_ns_get_secondary_object(region_obj); |
204 | if (!region_obj2) { | 204 | if (!region_obj2) { |
@@ -284,7 +284,7 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj, | |||
284 | union acpi_operand_object *region_obj2; | 284 | union acpi_operand_object *region_obj2; |
285 | void *region_context = NULL; | 285 | void *region_context = NULL; |
286 | 286 | ||
287 | ACPI_FUNCTION_TRACE("ev_address_space_dispatch"); | 287 | ACPI_FUNCTION_TRACE(ev_address_space_dispatch); |
288 | 288 | ||
289 | region_obj2 = acpi_ns_get_secondary_object(region_obj); | 289 | region_obj2 = acpi_ns_get_secondary_object(region_obj); |
290 | if (!region_obj2) { | 290 | if (!region_obj2) { |
@@ -451,7 +451,7 @@ acpi_ev_detach_region(union acpi_operand_object *region_obj, | |||
451 | union acpi_operand_object *region_obj2; | 451 | union acpi_operand_object *region_obj2; |
452 | acpi_status status; | 452 | acpi_status status; |
453 | 453 | ||
454 | ACPI_FUNCTION_TRACE("ev_detach_region"); | 454 | ACPI_FUNCTION_TRACE(ev_detach_region); |
455 | 455 | ||
456 | region_obj2 = acpi_ns_get_secondary_object(region_obj); | 456 | region_obj2 = acpi_ns_get_secondary_object(region_obj); |
457 | if (!region_obj2) { | 457 | if (!region_obj2) { |
@@ -585,7 +585,7 @@ acpi_ev_attach_region(union acpi_operand_object *handler_obj, | |||
585 | u8 acpi_ns_is_locked) | 585 | u8 acpi_ns_is_locked) |
586 | { | 586 | { |
587 | 587 | ||
588 | ACPI_FUNCTION_TRACE("ev_attach_region"); | 588 | ACPI_FUNCTION_TRACE(ev_attach_region); |
589 | 589 | ||
590 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, | 590 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, |
591 | "Adding Region [%4.4s] %p to address handler %p [%s]\n", | 591 | "Adding Region [%4.4s] %p to address handler %p [%s]\n", |
@@ -638,7 +638,7 @@ acpi_ev_install_handler(acpi_handle obj_handle, | |||
638 | struct acpi_namespace_node *node; | 638 | struct acpi_namespace_node *node; |
639 | acpi_status status; | 639 | acpi_status status; |
640 | 640 | ||
641 | ACPI_FUNCTION_NAME("ev_install_handler"); | 641 | ACPI_FUNCTION_NAME(ev_install_handler); |
642 | 642 | ||
643 | handler_obj = (union acpi_operand_object *)context; | 643 | handler_obj = (union acpi_operand_object *)context; |
644 | 644 | ||
@@ -771,7 +771,7 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node, | |||
771 | acpi_object_type type; | 771 | acpi_object_type type; |
772 | u8 flags = 0; | 772 | u8 flags = 0; |
773 | 773 | ||
774 | ACPI_FUNCTION_TRACE("ev_install_space_handler"); | 774 | ACPI_FUNCTION_TRACE(ev_install_space_handler); |
775 | 775 | ||
776 | /* | 776 | /* |
777 | * This registration is valid for only the types below | 777 | * This registration is valid for only the types below |
@@ -985,7 +985,7 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node, | |||
985 | { | 985 | { |
986 | acpi_status status; | 986 | acpi_status status; |
987 | 987 | ||
988 | ACPI_FUNCTION_TRACE("ev_execute_reg_methods"); | 988 | ACPI_FUNCTION_TRACE(ev_execute_reg_methods); |
989 | 989 | ||
990 | /* | 990 | /* |
991 | * Run all _REG methods for all Operation Regions for this | 991 | * Run all _REG methods for all Operation Regions for this |
diff --git a/drivers/acpi/events/evrgnini.c b/drivers/acpi/events/evrgnini.c index d1809f4240a4..1cecd577b899 100644 --- a/drivers/acpi/events/evrgnini.c +++ b/drivers/acpi/events/evrgnini.c | |||
@@ -71,7 +71,7 @@ acpi_ev_system_memory_region_setup(acpi_handle handle, | |||
71 | (union acpi_operand_object *)handle; | 71 | (union acpi_operand_object *)handle; |
72 | struct acpi_mem_space_context *local_region_context; | 72 | struct acpi_mem_space_context *local_region_context; |
73 | 73 | ||
74 | ACPI_FUNCTION_TRACE("ev_system_memory_region_setup"); | 74 | ACPI_FUNCTION_TRACE(ev_system_memory_region_setup); |
75 | 75 | ||
76 | if (function == ACPI_REGION_DEACTIVATE) { | 76 | if (function == ACPI_REGION_DEACTIVATE) { |
77 | if (*region_context) { | 77 | if (*region_context) { |
@@ -129,7 +129,7 @@ acpi_ev_io_space_region_setup(acpi_handle handle, | |||
129 | u32 function, | 129 | u32 function, |
130 | void *handler_context, void **region_context) | 130 | void *handler_context, void **region_context) |
131 | { | 131 | { |
132 | ACPI_FUNCTION_TRACE("ev_io_space_region_setup"); | 132 | ACPI_FUNCTION_TRACE(ev_io_space_region_setup); |
133 | 133 | ||
134 | if (function == ACPI_REGION_DEACTIVATE) { | 134 | if (function == ACPI_REGION_DEACTIVATE) { |
135 | *region_context = NULL; | 135 | *region_context = NULL; |
@@ -172,7 +172,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle, | |||
172 | (union acpi_operand_object *)handle; | 172 | (union acpi_operand_object *)handle; |
173 | struct acpi_device_id object_hID; | 173 | struct acpi_device_id object_hID; |
174 | 174 | ||
175 | ACPI_FUNCTION_TRACE("ev_pci_config_region_setup"); | 175 | ACPI_FUNCTION_TRACE(ev_pci_config_region_setup); |
176 | 176 | ||
177 | handler_obj = region_obj->region.handler; | 177 | handler_obj = region_obj->region.handler; |
178 | if (!handler_obj) { | 178 | if (!handler_obj) { |
@@ -248,7 +248,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle, | |||
248 | } else { | 248 | } else { |
249 | ACPI_EXCEPTION((AE_INFO, | 249 | ACPI_EXCEPTION((AE_INFO, |
250 | status, | 250 | status, |
251 | "Could not install pci_config handler for Root Bridge %4.4s", | 251 | "Could not install PciConfig handler for Root Bridge %4.4s", |
252 | acpi_ut_get_node_name | 252 | acpi_ut_get_node_name |
253 | (pci_root_node))); | 253 | (pci_root_node))); |
254 | } | 254 | } |
@@ -350,7 +350,7 @@ acpi_ev_pci_bar_region_setup(acpi_handle handle, | |||
350 | u32 function, | 350 | u32 function, |
351 | void *handler_context, void **region_context) | 351 | void *handler_context, void **region_context) |
352 | { | 352 | { |
353 | ACPI_FUNCTION_TRACE("ev_pci_bar_region_setup"); | 353 | ACPI_FUNCTION_TRACE(ev_pci_bar_region_setup); |
354 | 354 | ||
355 | return_ACPI_STATUS(AE_OK); | 355 | return_ACPI_STATUS(AE_OK); |
356 | } | 356 | } |
@@ -377,7 +377,7 @@ acpi_ev_cmos_region_setup(acpi_handle handle, | |||
377 | u32 function, | 377 | u32 function, |
378 | void *handler_context, void **region_context) | 378 | void *handler_context, void **region_context) |
379 | { | 379 | { |
380 | ACPI_FUNCTION_TRACE("ev_cmos_region_setup"); | 380 | ACPI_FUNCTION_TRACE(ev_cmos_region_setup); |
381 | 381 | ||
382 | return_ACPI_STATUS(AE_OK); | 382 | return_ACPI_STATUS(AE_OK); |
383 | } | 383 | } |
@@ -402,7 +402,7 @@ acpi_ev_default_region_setup(acpi_handle handle, | |||
402 | u32 function, | 402 | u32 function, |
403 | void *handler_context, void **region_context) | 403 | void *handler_context, void **region_context) |
404 | { | 404 | { |
405 | ACPI_FUNCTION_TRACE("ev_default_region_setup"); | 405 | ACPI_FUNCTION_TRACE(ev_default_region_setup); |
406 | 406 | ||
407 | if (function == ACPI_REGION_DEACTIVATE) { | 407 | if (function == ACPI_REGION_DEACTIVATE) { |
408 | *region_context = NULL; | 408 | *region_context = NULL; |
@@ -448,7 +448,7 @@ acpi_ev_initialize_region(union acpi_operand_object *region_obj, | |||
448 | acpi_name *reg_name_ptr = (acpi_name *) METHOD_NAME__REG; | 448 | acpi_name *reg_name_ptr = (acpi_name *) METHOD_NAME__REG; |
449 | union acpi_operand_object *region_obj2; | 449 | union acpi_operand_object *region_obj2; |
450 | 450 | ||
451 | ACPI_FUNCTION_TRACE_U32("ev_initialize_region", acpi_ns_locked); | 451 | ACPI_FUNCTION_TRACE_U32(ev_initialize_region, acpi_ns_locked); |
452 | 452 | ||
453 | if (!region_obj) { | 453 | if (!region_obj) { |
454 | return_ACPI_STATUS(AE_BAD_PARAMETER); | 454 | return_ACPI_STATUS(AE_BAD_PARAMETER); |
@@ -588,7 +588,7 @@ acpi_ev_initialize_region(union acpi_operand_object *region_obj, | |||
588 | /* If we get here, there is no handler for this region */ | 588 | /* If we get here, there is no handler for this region */ |
589 | 589 | ||
590 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, | 590 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, |
591 | "No handler for region_type %s(%X) (region_obj %p)\n", | 591 | "No handler for RegionType %s(%X) (RegionObj %p)\n", |
592 | acpi_ut_get_region_name(space_id), space_id, | 592 | acpi_ut_get_region_name(space_id), space_id, |
593 | region_obj)); | 593 | region_obj)); |
594 | 594 | ||
diff --git a/drivers/acpi/events/evsci.c b/drivers/acpi/events/evsci.c index 9a622169008a..8106215ad554 100644 --- a/drivers/acpi/events/evsci.c +++ b/drivers/acpi/events/evsci.c | |||
@@ -69,7 +69,7 @@ static u32 ACPI_SYSTEM_XFACE acpi_ev_sci_xrupt_handler(void *context) | |||
69 | struct acpi_gpe_xrupt_info *gpe_xrupt_list = context; | 69 | struct acpi_gpe_xrupt_info *gpe_xrupt_list = context; |
70 | u32 interrupt_handled = ACPI_INTERRUPT_NOT_HANDLED; | 70 | u32 interrupt_handled = ACPI_INTERRUPT_NOT_HANDLED; |
71 | 71 | ||
72 | ACPI_FUNCTION_TRACE("ev_sci_xrupt_handler"); | 72 | ACPI_FUNCTION_TRACE(ev_sci_xrupt_handler); |
73 | 73 | ||
74 | /* | 74 | /* |
75 | * We are guaranteed by the ACPI CA initialization/shutdown code that | 75 | * We are guaranteed by the ACPI CA initialization/shutdown code that |
@@ -108,7 +108,7 @@ u32 ACPI_SYSTEM_XFACE acpi_ev_gpe_xrupt_handler(void *context) | |||
108 | struct acpi_gpe_xrupt_info *gpe_xrupt_list = context; | 108 | struct acpi_gpe_xrupt_info *gpe_xrupt_list = context; |
109 | u32 interrupt_handled = ACPI_INTERRUPT_NOT_HANDLED; | 109 | u32 interrupt_handled = ACPI_INTERRUPT_NOT_HANDLED; |
110 | 110 | ||
111 | ACPI_FUNCTION_TRACE("ev_gpe_xrupt_handler"); | 111 | ACPI_FUNCTION_TRACE(ev_gpe_xrupt_handler); |
112 | 112 | ||
113 | /* | 113 | /* |
114 | * We are guaranteed by the ACPI CA initialization/shutdown code that | 114 | * We are guaranteed by the ACPI CA initialization/shutdown code that |
@@ -140,7 +140,7 @@ u32 acpi_ev_install_sci_handler(void) | |||
140 | { | 140 | { |
141 | u32 status = AE_OK; | 141 | u32 status = AE_OK; |
142 | 142 | ||
143 | ACPI_FUNCTION_TRACE("ev_install_sci_handler"); | 143 | ACPI_FUNCTION_TRACE(ev_install_sci_handler); |
144 | 144 | ||
145 | status = acpi_os_install_interrupt_handler((u32) acpi_gbl_FADT->sci_int, | 145 | status = acpi_os_install_interrupt_handler((u32) acpi_gbl_FADT->sci_int, |
146 | acpi_ev_sci_xrupt_handler, | 146 | acpi_ev_sci_xrupt_handler, |
@@ -171,7 +171,7 @@ acpi_status acpi_ev_remove_sci_handler(void) | |||
171 | { | 171 | { |
172 | acpi_status status; | 172 | acpi_status status; |
173 | 173 | ||
174 | ACPI_FUNCTION_TRACE("ev_remove_sci_handler"); | 174 | ACPI_FUNCTION_TRACE(ev_remove_sci_handler); |
175 | 175 | ||
176 | /* Just let the OS remove the handler and disable the level */ | 176 | /* Just let the OS remove the handler and disable the level */ |
177 | 177 | ||
diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c index 7d1cebc871f6..76c34a66e0e0 100644 --- a/drivers/acpi/events/evxface.c +++ b/drivers/acpi/events/evxface.c | |||
@@ -66,7 +66,7 @@ acpi_status acpi_install_exception_handler(acpi_exception_handler handler) | |||
66 | { | 66 | { |
67 | acpi_status status; | 67 | acpi_status status; |
68 | 68 | ||
69 | ACPI_FUNCTION_TRACE("acpi_install_exception_handler"); | 69 | ACPI_FUNCTION_TRACE(acpi_install_exception_handler); |
70 | 70 | ||
71 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); | 71 | status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); |
72 | if (ACPI_FAILURE(status)) { | 72 | if (ACPI_FAILURE(status)) { |
@@ -113,7 +113,7 @@ acpi_install_fixed_event_handler(u32 event, | |||
113 | { | 113 | { |
114 | acpi_status status; | 114 | acpi_status status; |
115 | 115 | ||
116 | ACPI_FUNCTION_TRACE("acpi_install_fixed_event_handler"); | 116 | ACPI_FUNCTION_TRACE(acpi_install_fixed_event_handler); |
117 | 117 | ||
118 | /* Parameter validation */ | 118 | /* Parameter validation */ |
119 | 119 | ||
@@ -179,7 +179,7 @@ acpi_remove_fixed_event_handler(u32 event, acpi_event_handler handler) | |||
179 | { | 179 | { |
180 | acpi_status status = AE_OK; | 180 | acpi_status status = AE_OK; |
181 | 181 | ||
182 | ACPI_FUNCTION_TRACE("acpi_remove_fixed_event_handler"); | 182 | ACPI_FUNCTION_TRACE(acpi_remove_fixed_event_handler); |
183 | 183 | ||
184 | /* Parameter validation */ | 184 | /* Parameter validation */ |
185 | 185 | ||
@@ -243,7 +243,7 @@ acpi_install_notify_handler(acpi_handle device, | |||
243 | struct acpi_namespace_node *node; | 243 | struct acpi_namespace_node *node; |
244 | acpi_status status; | 244 | acpi_status status; |
245 | 245 | ||
246 | ACPI_FUNCTION_TRACE("acpi_install_notify_handler"); | 246 | ACPI_FUNCTION_TRACE(acpi_install_notify_handler); |
247 | 247 | ||
248 | /* Parameter validation */ | 248 | /* Parameter validation */ |
249 | 249 | ||
@@ -408,7 +408,7 @@ acpi_remove_notify_handler(acpi_handle device, | |||
408 | struct acpi_namespace_node *node; | 408 | struct acpi_namespace_node *node; |
409 | acpi_status status; | 409 | acpi_status status; |
410 | 410 | ||
411 | ACPI_FUNCTION_TRACE("acpi_remove_notify_handler"); | 411 | ACPI_FUNCTION_TRACE(acpi_remove_notify_handler); |
412 | 412 | ||
413 | /* Parameter validation */ | 413 | /* Parameter validation */ |
414 | 414 | ||
@@ -563,7 +563,7 @@ acpi_install_gpe_handler(acpi_handle gpe_device, | |||
563 | acpi_status status; | 563 | acpi_status status; |
564 | acpi_cpu_flags flags; | 564 | acpi_cpu_flags flags; |
565 | 565 | ||
566 | ACPI_FUNCTION_TRACE("acpi_install_gpe_handler"); | 566 | ACPI_FUNCTION_TRACE(acpi_install_gpe_handler); |
567 | 567 | ||
568 | /* Parameter validation */ | 568 | /* Parameter validation */ |
569 | 569 | ||
@@ -653,7 +653,7 @@ acpi_remove_gpe_handler(acpi_handle gpe_device, | |||
653 | acpi_status status; | 653 | acpi_status status; |
654 | acpi_cpu_flags flags; | 654 | acpi_cpu_flags flags; |
655 | 655 | ||
656 | ACPI_FUNCTION_TRACE("acpi_remove_gpe_handler"); | 656 | ACPI_FUNCTION_TRACE(acpi_remove_gpe_handler); |
657 | 657 | ||
658 | /* Parameter validation */ | 658 | /* Parameter validation */ |
659 | 659 | ||
diff --git a/drivers/acpi/events/evxfevnt.c b/drivers/acpi/events/evxfevnt.c index 4a36559fa816..7ebc2efac936 100644 --- a/drivers/acpi/events/evxfevnt.c +++ b/drivers/acpi/events/evxfevnt.c | |||
@@ -63,7 +63,7 @@ acpi_status acpi_enable(void) | |||
63 | { | 63 | { |
64 | acpi_status status = AE_OK; | 64 | acpi_status status = AE_OK; |
65 | 65 | ||
66 | ACPI_FUNCTION_TRACE("acpi_enable"); | 66 | ACPI_FUNCTION_TRACE(acpi_enable); |
67 | 67 | ||
68 | /* Make sure we have the FADT */ | 68 | /* Make sure we have the FADT */ |
69 | 69 | ||
@@ -109,7 +109,7 @@ acpi_status acpi_disable(void) | |||
109 | { | 109 | { |
110 | acpi_status status = AE_OK; | 110 | acpi_status status = AE_OK; |
111 | 111 | ||
112 | ACPI_FUNCTION_TRACE("acpi_disable"); | 112 | ACPI_FUNCTION_TRACE(acpi_disable); |
113 | 113 | ||
114 | if (!acpi_gbl_FADT) { | 114 | if (!acpi_gbl_FADT) { |
115 | ACPI_WARNING((AE_INFO, "No FADT information present!")); | 115 | ACPI_WARNING((AE_INFO, "No FADT information present!")); |
@@ -155,7 +155,7 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
155 | acpi_status status = AE_OK; | 155 | acpi_status status = AE_OK; |
156 | u32 value; | 156 | u32 value; |
157 | 157 | ||
158 | ACPI_FUNCTION_TRACE("acpi_enable_event"); | 158 | ACPI_FUNCTION_TRACE(acpi_enable_event); |
159 | 159 | ||
160 | /* Decode the Fixed Event */ | 160 | /* Decode the Fixed Event */ |
161 | 161 | ||
@@ -213,7 +213,7 @@ acpi_status acpi_set_gpe_type(acpi_handle gpe_device, u32 gpe_number, u8 type) | |||
213 | acpi_status status = AE_OK; | 213 | acpi_status status = AE_OK; |
214 | struct acpi_gpe_event_info *gpe_event_info; | 214 | struct acpi_gpe_event_info *gpe_event_info; |
215 | 215 | ||
216 | ACPI_FUNCTION_TRACE("acpi_set_gpe_type"); | 216 | ACPI_FUNCTION_TRACE(acpi_set_gpe_type); |
217 | 217 | ||
218 | /* Ensure that we have a valid GPE number */ | 218 | /* Ensure that we have a valid GPE number */ |
219 | 219 | ||
@@ -256,7 +256,7 @@ acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags) | |||
256 | acpi_status status = AE_OK; | 256 | acpi_status status = AE_OK; |
257 | struct acpi_gpe_event_info *gpe_event_info; | 257 | struct acpi_gpe_event_info *gpe_event_info; |
258 | 258 | ||
259 | ACPI_FUNCTION_TRACE("acpi_enable_gpe"); | 259 | ACPI_FUNCTION_TRACE(acpi_enable_gpe); |
260 | 260 | ||
261 | /* Use semaphore lock if not executing at interrupt level */ | 261 | /* Use semaphore lock if not executing at interrupt level */ |
262 | 262 | ||
@@ -307,7 +307,7 @@ acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags) | |||
307 | acpi_status status = AE_OK; | 307 | acpi_status status = AE_OK; |
308 | struct acpi_gpe_event_info *gpe_event_info; | 308 | struct acpi_gpe_event_info *gpe_event_info; |
309 | 309 | ||
310 | ACPI_FUNCTION_TRACE("acpi_disable_gpe"); | 310 | ACPI_FUNCTION_TRACE(acpi_disable_gpe); |
311 | 311 | ||
312 | /* Use semaphore lock if not executing at interrupt level */ | 312 | /* Use semaphore lock if not executing at interrupt level */ |
313 | 313 | ||
@@ -354,7 +354,7 @@ acpi_status acpi_disable_event(u32 event, u32 flags) | |||
354 | acpi_status status = AE_OK; | 354 | acpi_status status = AE_OK; |
355 | u32 value; | 355 | u32 value; |
356 | 356 | ||
357 | ACPI_FUNCTION_TRACE("acpi_disable_event"); | 357 | ACPI_FUNCTION_TRACE(acpi_disable_event); |
358 | 358 | ||
359 | /* Decode the Fixed Event */ | 359 | /* Decode the Fixed Event */ |
360 | 360 | ||
@@ -407,7 +407,7 @@ acpi_status acpi_clear_event(u32 event) | |||
407 | { | 407 | { |
408 | acpi_status status = AE_OK; | 408 | acpi_status status = AE_OK; |
409 | 409 | ||
410 | ACPI_FUNCTION_TRACE("acpi_clear_event"); | 410 | ACPI_FUNCTION_TRACE(acpi_clear_event); |
411 | 411 | ||
412 | /* Decode the Fixed Event */ | 412 | /* Decode the Fixed Event */ |
413 | 413 | ||
@@ -446,7 +446,7 @@ acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags) | |||
446 | acpi_status status = AE_OK; | 446 | acpi_status status = AE_OK; |
447 | struct acpi_gpe_event_info *gpe_event_info; | 447 | struct acpi_gpe_event_info *gpe_event_info; |
448 | 448 | ||
449 | ACPI_FUNCTION_TRACE("acpi_clear_gpe"); | 449 | ACPI_FUNCTION_TRACE(acpi_clear_gpe); |
450 | 450 | ||
451 | /* Use semaphore lock if not executing at interrupt level */ | 451 | /* Use semaphore lock if not executing at interrupt level */ |
452 | 452 | ||
@@ -494,7 +494,7 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status) | |||
494 | { | 494 | { |
495 | acpi_status status = AE_OK; | 495 | acpi_status status = AE_OK; |
496 | 496 | ||
497 | ACPI_FUNCTION_TRACE("acpi_get_event_status"); | 497 | ACPI_FUNCTION_TRACE(acpi_get_event_status); |
498 | 498 | ||
499 | if (!event_status) { | 499 | if (!event_status) { |
500 | return_ACPI_STATUS(AE_BAD_PARAMETER); | 500 | return_ACPI_STATUS(AE_BAD_PARAMETER); |
@@ -539,7 +539,7 @@ acpi_get_gpe_status(acpi_handle gpe_device, | |||
539 | acpi_status status = AE_OK; | 539 | acpi_status status = AE_OK; |
540 | struct acpi_gpe_event_info *gpe_event_info; | 540 | struct acpi_gpe_event_info *gpe_event_info; |
541 | 541 | ||
542 | ACPI_FUNCTION_TRACE("acpi_get_gpe_status"); | 542 | ACPI_FUNCTION_TRACE(acpi_get_gpe_status); |
543 | 543 | ||
544 | /* Use semaphore lock if not executing at interrupt level */ | 544 | /* Use semaphore lock if not executing at interrupt level */ |
545 | 545 | ||
@@ -596,7 +596,7 @@ acpi_install_gpe_block(acpi_handle gpe_device, | |||
596 | struct acpi_namespace_node *node; | 596 | struct acpi_namespace_node *node; |
597 | struct acpi_gpe_block_info *gpe_block; | 597 | struct acpi_gpe_block_info *gpe_block; |
598 | 598 | ||
599 | ACPI_FUNCTION_TRACE("acpi_install_gpe_block"); | 599 | ACPI_FUNCTION_TRACE(acpi_install_gpe_block); |
600 | 600 | ||
601 | if ((!gpe_device) || (!gpe_block_address) || (!register_count)) { | 601 | if ((!gpe_device) || (!gpe_block_address) || (!register_count)) { |
602 | return_ACPI_STATUS(AE_BAD_PARAMETER); | 602 | return_ACPI_STATUS(AE_BAD_PARAMETER); |
@@ -684,7 +684,7 @@ acpi_status acpi_remove_gpe_block(acpi_handle gpe_device) | |||
684 | acpi_status status; | 684 | acpi_status status; |
685 | struct acpi_namespace_node *node; | 685 | struct acpi_namespace_node *node; |
686 | 686 | ||
687 | ACPI_FUNCTION_TRACE("acpi_remove_gpe_block"); | 687 | ACPI_FUNCTION_TRACE(acpi_remove_gpe_block); |
688 | 688 | ||
689 | if (!gpe_device) { | 689 | if (!gpe_device) { |
690 | return_ACPI_STATUS(AE_BAD_PARAMETER); | 690 | return_ACPI_STATUS(AE_BAD_PARAMETER); |
diff --git a/drivers/acpi/events/evxfregn.c b/drivers/acpi/events/evxfregn.c index 63a070bb9d17..e8b86a0baad0 100644 --- a/drivers/acpi/events/evxfregn.c +++ b/drivers/acpi/events/evxfregn.c | |||
@@ -73,7 +73,7 @@ acpi_install_address_space_handler(acpi_handle device, | |||
73 | struct acpi_namespace_node *node; | 73 | struct acpi_namespace_node *node; |
74 | acpi_status status; | 74 | acpi_status status; |
75 | 75 | ||
76 | ACPI_FUNCTION_TRACE("acpi_install_address_space_handler"); | 76 | ACPI_FUNCTION_TRACE(acpi_install_address_space_handler); |
77 | 77 | ||
78 | /* Parameter validation */ | 78 | /* Parameter validation */ |
79 | 79 | ||
@@ -139,7 +139,7 @@ acpi_remove_address_space_handler(acpi_handle device, | |||
139 | struct acpi_namespace_node *node; | 139 | struct acpi_namespace_node *node; |
140 | acpi_status status; | 140 | acpi_status status; |
141 | 141 | ||
142 | ACPI_FUNCTION_TRACE("acpi_remove_address_space_handler"); | 142 | ACPI_FUNCTION_TRACE(acpi_remove_address_space_handler); |
143 | 143 | ||
144 | /* Parameter validation */ | 144 | /* Parameter validation */ |
145 | 145 | ||
@@ -228,7 +228,7 @@ acpi_remove_address_space_handler(acpi_handle device, | |||
228 | /* The handler does not exist */ | 228 | /* The handler does not exist */ |
229 | 229 | ||
230 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, | 230 | ACPI_DEBUG_PRINT((ACPI_DB_OPREGION, |
231 | "Unable to remove address handler %p for %s(%X), dev_node %p, obj %p\n", | 231 | "Unable to remove address handler %p for %s(%X), DevNode %p, obj %p\n", |
232 | handler, acpi_ut_get_region_name(space_id), space_id, | 232 | handler, acpi_ut_get_region_name(space_id), space_id, |
233 | node, obj_desc)); | 233 | node, obj_desc)); |
234 | 234 | ||