|
@@ -188,7 +188,7 @@ acpi_tb_install_fixed_table(acpi_physical_address address,
|
|
|
ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL);
|
|
|
if (ACPI_FAILURE(status)) {
|
|
|
ACPI_ERROR((AE_INFO, "Could not acquire table length at %p",
|
|
|
- ACPI_CAST_PTR(void, address)));
|
|
|
+ ACPI_PHYSADDR_TO_PTR(address)));
|
|
|
return_ACPI_STATUS(status);
|
|
|
}
|
|
|
|
|
@@ -247,7 +247,7 @@ acpi_tb_install_standard_table(acpi_physical_address address,
|
|
|
status = acpi_tb_acquire_temp_table(&new_table_desc, address, flags);
|
|
|
if (ACPI_FAILURE(status)) {
|
|
|
ACPI_ERROR((AE_INFO, "Could not acquire table length at %p",
|
|
|
- ACPI_CAST_PTR(void, address)));
|
|
|
+ ACPI_PHYSADDR_TO_PTR(address)));
|
|
|
return_ACPI_STATUS(status);
|
|
|
}
|
|
|
|
|
@@ -259,8 +259,8 @@ acpi_tb_install_standard_table(acpi_physical_address address,
|
|
|
acpi_gbl_disable_ssdt_table_install &&
|
|
|
ACPI_COMPARE_NAME(&new_table_desc.signature, ACPI_SIG_SSDT)) {
|
|
|
ACPI_INFO((AE_INFO, "Ignoring installation of %4.4s at %p",
|
|
|
- new_table_desc.signature.ascii, ACPI_CAST_PTR(void,
|
|
|
- address)));
|
|
|
+ new_table_desc.signature.ascii,
|
|
|
+ ACPI_PHYSADDR_TO_PTR(address)));
|
|
|
goto release_and_exit;
|
|
|
}
|
|
|
|
|
@@ -517,7 +517,7 @@ void acpi_tb_uninstall_table(struct acpi_table_desc *table_desc)
|
|
|
|
|
|
if ((table_desc->flags & ACPI_TABLE_ORIGIN_MASK) ==
|
|
|
ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL) {
|
|
|
- ACPI_FREE(ACPI_CAST_PTR(void, table_desc->address));
|
|
|
+ ACPI_FREE(ACPI_PHYSADDR_TO_PTR(table_desc->address));
|
|
|
}
|
|
|
|
|
|
table_desc->address = ACPI_PTR_TO_PHYSADDR(NULL);
|