aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-04-12 23:48:31 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-14 08:51:51 -0400
commitea2849255f13b63de90483ffa7781b8b65cc7765 (patch)
tree560747e1d609edaae73669128735d1595f057c1a /drivers/acpi
parente0423edff19a99ed12bedfe4f3605e94efa2c669 (diff)
ACPICA: Executer: Cleanup to remove an unnecessary conversion.
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/exregion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c
index 0ca217ec43b8..2b8cae62529a 100644
--- a/drivers/acpi/acpica/exregion.c
+++ b/drivers/acpi/acpica/exregion.c
@@ -177,7 +177,8 @@ acpi_ex_system_memory_space_handler(u32 function,
177 177
178 /* Create a new mapping starting at the address given */ 178 /* Create a new mapping starting at the address given */
179 179
180 mem_info->mapped_logical_address = acpi_os_map_memory((acpi_physical_address) address, map_length); 180 mem_info->mapped_logical_address =
181 acpi_os_map_memory(address, map_length);
181 if (!mem_info->mapped_logical_address) { 182 if (!mem_info->mapped_logical_address) {
182 ACPI_ERROR((AE_INFO, 183 ACPI_ERROR((AE_INFO,
183 "Could not map memory at 0x%8.8X%8.8X, size %u", 184 "Could not map memory at 0x%8.8X%8.8X, size %u",