mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
bbc2413406
commit
b7906e3245
1 changed files with 1 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue