Commit a7499bc8 authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Update comments/headers, no functional change

Also split some long lines.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 21e44ba8
...@@ -85,10 +85,10 @@ void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc) ...@@ -85,10 +85,10 @@ void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc)
(obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next;
/* /*
* Migrate the previous sync level associated with this mutex to the * Migrate the previous sync level associated with this mutex to
* previous mutex on the list so that it may be preserved. This handles * the previous mutex on the list so that it may be preserved.
* the case where several mutexes have been acquired at the same level, * This handles the case where several mutexes have been acquired
* but are not released in opposite order. * at the same level, but are not released in opposite order.
*/ */
(obj_desc->mutex.prev)->mutex.original_sync_level = (obj_desc->mutex.prev)->mutex.original_sync_level =
obj_desc->mutex.original_sync_level; obj_desc->mutex.original_sync_level;
...@@ -138,9 +138,9 @@ acpi_ex_link_mutex(union acpi_operand_object *obj_desc, ...@@ -138,9 +138,9 @@ acpi_ex_link_mutex(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_acquire_mutex_object * FUNCTION: acpi_ex_acquire_mutex_object
* *
* PARAMETERS: time_desc - Timeout in milliseconds * PARAMETERS: Timeout - Timeout in milliseconds
* obj_desc - Mutex object * obj_desc - Mutex object
* Thread - Current thread state * thread_id - Current thread state
* *
* RETURN: Status * RETURN: Status
* *
...@@ -234,7 +234,7 @@ acpi_ex_acquire_mutex(union acpi_operand_object *time_desc, ...@@ -234,7 +234,7 @@ acpi_ex_acquire_mutex(union acpi_operand_object *time_desc,
return_ACPI_STATUS(AE_BAD_PARAMETER); return_ACPI_STATUS(AE_BAD_PARAMETER);
} }
/* Must have a valid thread ID */ /* Must have a valid thread state struct */
if (!walk_state->thread) { if (!walk_state->thread) {
ACPI_ERROR((AE_INFO, ACPI_ERROR((AE_INFO,
...@@ -435,6 +435,7 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc, ...@@ -435,6 +435,7 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc,
owner_thread->current_sync_level = previous_sync_level; owner_thread->current_sync_level = previous_sync_level;
} }
return_ACPI_STATUS(status); return_ACPI_STATUS(status);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment