aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nsdump.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-04-12 23:48:52 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-14 08:51:51 -0400
commit1d0a0b2f6df2bf2643fadc990eb143361eca6ada (patch)
tree3e099771cfa03478de9fdc64feaa169e2b81f80d /drivers/acpi/acpica/nsdump.c
parentcc2080b0e5a7c6c33ef5e9ffccbc2b8f6f861393 (diff)
ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx helpers.
ACPICA commit b60612373a4ef63b64a57c124576d7ddb6d8efb6 For physical addresses, since the address may exceed 32-bit address range after calculation, we should use 0x%8.8X%8.8X instead of ACPI_PRINTF_UINT and ACPI_FORMAT_UINT64() instead of ACPI_FORMAT_NATIVE_UINT()/ACPI_FORMAT_TO_UINT(). This patch also removes above replaced macros as there are no users. This is a preparation to switch acpi_physical_address to 64-bit on 32-bit kernel builds. Link: https://github.com/acpica/acpica/commit/b6061237 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/acpica/nsdump.c')
-rw-r--r--drivers/acpi/acpica/nsdump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/nsdump.c b/drivers/acpi/acpica/nsdump.c
index e76d8fda24a5..d259393505fa 100644
--- a/drivers/acpi/acpica/nsdump.c
+++ b/drivers/acpi/acpica/nsdump.c
@@ -346,8 +346,9 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,
346 space_id)); 346 space_id));
347 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { 347 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) {
348 acpi_os_printf(" Addr %8.8X%8.8X Len %.4X\n", 348 acpi_os_printf(" Addr %8.8X%8.8X Len %.4X\n",
349 ACPI_FORMAT_NATIVE_UINT 349 ACPI_FORMAT_UINT64(obj_desc->
350 (obj_desc->region.address), 350 region.
351 address),
351 obj_desc->region.length); 352 obj_desc->region.length);
352 } else { 353 } else {
353 acpi_os_printf 354 acpi_os_printf