Skip to content

Commit

Permalink
ACPICA: Executer: Cleanup to remove an unnecessary conversion.
Browse files Browse the repository at this point in the history
ACPICA commit c327986430b7eb170c17d0f45735fe71bb62a810

The conversion converts an acpi_physical_address to acpi_physical_address,
this patch thus removes such useless conversion.

Link: https://github.com/acpica/acpica/commit/c3279864
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Apr 14, 2015
1 parent e0423ed commit ea28492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/acpica/exregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ acpi_ex_system_memory_space_handler(u32 function,

/* Create a new mapping starting at the address given */

mem_info->mapped_logical_address = acpi_os_map_memory((acpi_physical_address) address, map_length);
mem_info->mapped_logical_address =
acpi_os_map_memory(address, map_length);
if (!mem_info->mapped_logical_address) {
ACPI_ERROR((AE_INFO,
"Could not map memory at 0x%8.8X%8.8X, size %u",
Expand Down

0 comments on commit ea28492

Please sign in to comment.