Skip to content

Commit

Permalink
ACPICA: Fix warning for 64-bit build
Browse files Browse the repository at this point in the history
Fixes warning from exconfig.c on 64-bit build.

AK: This actually was fixed earlier in Linux, this just syncs with
AK: the version of the fix that went into the ACPCA codebase

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Oct 23, 2008
1 parent bbc2413 commit b7906e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/acpi/executer/exconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ acpi_ex_add_table(u32 table_index,

/* Install the new table into the local data structures */

obj_desc->reference.object = ACPI_CAST_PTR(void,
(unsigned long)table_index);
obj_desc->reference.object = ACPI_TO_POINTER(table_index);

/* Add the table to the namespace */

Expand Down

0 comments on commit b7906e3

Please sign in to comment.