aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exconfig.c
diff options
context:
space:
mode:
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