diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 11:06:37 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:21 -0400 |
commit | ba886cd4ac957608777fbc8d137f6b9f0450e775 (patch) | |
tree | d7dabaa586af41c293977443ee20df6b6b13d171 /include/acpi/acinterp.h | |
parent | f654ecbfacb47d20e8cac087bbada1b947db846b (diff) |
ACPICA: Update for mutiple global lock acquisitions by same thread
Allows AcpiAcquireGlobalLock external interface to be called
multiple times by the
same thread. Allows use of AML fields that require the global
lock while the running AML is already holding the global lock.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acinterp.h')
-rw-r--r-- | include/acpi/acinterp.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/acpi/acinterp.h b/include/acpi/acinterp.h index ce7c9d653910..23863886e808 100644 --- a/include/acpi/acinterp.h +++ b/include/acpi/acinterp.h | |||
@@ -248,9 +248,16 @@ acpi_ex_acquire_mutex(union acpi_operand_object *time_desc, | |||
248 | struct acpi_walk_state *walk_state); | 248 | struct acpi_walk_state *walk_state); |
249 | 249 | ||
250 | acpi_status | 250 | acpi_status |
251 | acpi_ex_acquire_mutex_object(u16 timeout, | ||
252 | union acpi_operand_object *obj_desc, | ||
253 | acpi_thread_id thread_id); | ||
254 | |||
255 | acpi_status | ||
251 | acpi_ex_release_mutex(union acpi_operand_object *obj_desc, | 256 | acpi_ex_release_mutex(union acpi_operand_object *obj_desc, |
252 | struct acpi_walk_state *walk_state); | 257 | struct acpi_walk_state *walk_state); |
253 | 258 | ||
259 | acpi_status acpi_ex_release_mutex_object(union acpi_operand_object *obj_desc); | ||
260 | |||
254 | void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread); | 261 | void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread); |
255 | 262 | ||
256 | void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc); | 263 | void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc); |
@@ -455,9 +462,9 @@ void acpi_ex_relinquish_interpreter(void); | |||
455 | 462 | ||
456 | void acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); | 463 | void acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); |
457 | 464 | ||
458 | u8 acpi_ex_acquire_global_lock(u32 rule); | 465 | void acpi_ex_acquire_global_lock(u32 rule); |
459 | 466 | ||
460 | void acpi_ex_release_global_lock(u8 locked); | 467 | void acpi_ex_release_global_lock(void); |
461 | 468 | ||
462 | void acpi_ex_eisa_id_to_string(u32 numeric_id, char *out_string); | 469 | void acpi_ex_eisa_id_to_string(u32 numeric_id, char *out_string); |
463 | 470 | ||