aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exfield.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-04-10 11:06:37 -0400
committerLen Brown <len.brown@intel.com>2008-04-22 14:29:22 -0400
commitf02e9fa1ceee045f7d5c53d475032815752a2510 (patch)
tree52da78bd3ef6442418ad2dae6fa55aab964dc6b4 /drivers/acpi/executer/exfield.c
parenta4df451a1055d97726ab890249bc3f941906fa75 (diff)
ACPICA: Misc fixes for recent global lock code update
Fixes as a result of running full validation test suite. 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 'drivers/acpi/executer/exfield.c')
-rw-r--r--drivers/acpi/executer/exfield.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/executer/exfield.c b/drivers/acpi/executer/exfield.c
index e66b367c4fb6..da772cb91d7f 100644
--- a/drivers/acpi/executer/exfield.c
+++ b/drivers/acpi/executer/exfield.c
@@ -122,7 +122,7 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state,
122 buffer.pointer), 122 buffer.pointer),
123 ACPI_READ | (obj_desc->field. 123 ACPI_READ | (obj_desc->field.
124 attribute << 16)); 124 attribute << 16));
125 acpi_ex_release_global_lock(); 125 acpi_ex_release_global_lock(obj_desc->common_field.field_flags);
126 goto exit; 126 goto exit;
127 } 127 }
128 128
@@ -177,7 +177,7 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state,
177 /* Read from the field */ 177 /* Read from the field */
178 178
179 status = acpi_ex_extract_from_field(obj_desc, buffer, (u32) length); 179 status = acpi_ex_extract_from_field(obj_desc, buffer, (u32) length);
180 acpi_ex_release_global_lock(); 180 acpi_ex_release_global_lock(obj_desc->common_field.field_flags);
181 181
182 exit: 182 exit:
183 if (ACPI_FAILURE(status)) { 183 if (ACPI_FAILURE(status)) {
@@ -284,7 +284,7 @@ acpi_ex_write_data_to_field(union acpi_operand_object *source_desc,
284 (acpi_integer *) buffer, 284 (acpi_integer *) buffer,
285 ACPI_WRITE | (obj_desc->field. 285 ACPI_WRITE | (obj_desc->field.
286 attribute << 16)); 286 attribute << 16));
287 acpi_ex_release_global_lock(); 287 acpi_ex_release_global_lock(obj_desc->common_field.field_flags);
288 288
289 *result_desc = buffer_desc; 289 *result_desc = buffer_desc;
290 return_ACPI_STATUS(status); 290 return_ACPI_STATUS(status);
@@ -364,7 +364,7 @@ acpi_ex_write_data_to_field(union acpi_operand_object *source_desc,
364 /* Write to the field */ 364 /* Write to the field */
365 365
366 status = acpi_ex_insert_into_field(obj_desc, buffer, length); 366 status = acpi_ex_insert_into_field(obj_desc, buffer, length);
367 acpi_ex_release_global_lock(); 367 acpi_ex_release_global_lock(obj_desc->common_field.field_flags);
368 368
369 /* Free temporary buffer if we used one */ 369 /* Free temporary buffer if we used one */
370 370