diff options
author | Bob Moore <robert.moore@intel.com> | 2008-08-14 22:32:59 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 23:14:37 -0400 |
commit | b7906e324532c1616546f6d4a1306894ba7c0a3d (patch) | |
tree | 2da03ca9a0bcee1704308415d2a5586a7afeb02a /drivers/acpi/executer | |
parent | bbc241340681557a16982f4d1840f00963bc05b4 (diff) |
ACPICA: Fix warning for 64-bit build
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>
Diffstat (limited to 'drivers/acpi/executer')
-rw-r--r-- | drivers/acpi/executer/exconfig.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index 331a114f42c9..4c512c2990e5 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c | |||
@@ -96,8 +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_CAST_PTR(void, | 99 | obj_desc->reference.object = ACPI_TO_POINTER(table_index); |
100 | (unsigned long)table_index); | ||
101 | 100 | ||
102 | /* Add the table to the namespace */ | 101 | /* Add the table to the namespace */ |
103 | 102 | ||