aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exconfig.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-09-26 22:40:39 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:14:44 -0400
commit57e664cfd968ec8e4b0bfd80a5e8f903307e598b (patch)
tree1a4ab73f5a9f3a0e07ba2801494379373a461b66 /drivers/acpi/executer/exconfig.c
parent93851b4d13de48753eaae76ed190eef7355e2c19 (diff)
ACPICA: Update for Reference ACPI_OPERAND_OBJECT
1) Add new field for use by DdbHandle (Value) 2) Use ACPI_CAST_INDIRECT_PTR to eliminate strict type warnings 3) Cleanup debug output Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/executer/exconfig.c')
-rw-r--r--drivers/acpi/executer/exconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c
index 4c512c2990e..5f2b1ebf70a 100644
--- a/drivers/acpi/executer/exconfig.c
+++ b/drivers/acpi/executer/exconfig.c
@@ -96,7 +96,7 @@ acpi_ex_add_table(u32 table_index,
96 96
97 /* Install the new table into the local data structures */ 97 /* Install the new table into the local data structures */
98 98
99 obj_desc->reference.object = ACPI_TO_POINTER(table_index); 99 obj_desc->reference.value = table_index;
100 100
101 /* Add the table to the namespace */ 101 /* Add the table to the namespace */
102 102
@@ -505,9 +505,9 @@ acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
505 return_ACPI_STATUS(AE_BAD_PARAMETER); 505 return_ACPI_STATUS(AE_BAD_PARAMETER);
506 } 506 }
507 507
508 /* Get the table index from the ddb_handle (acpi_size for 64-bit case) */ 508 /* Get the table index from the ddb_handle */
509 509
510 table_index = (u32) (acpi_size) table_desc->reference.object; 510 table_index = table_desc->reference.value;
511 511
512 /* Invoke table handler if present */ 512 /* Invoke table handler if present */
513 513