summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2022-03-17 09:42:20 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-25 20:11:42 +0300
commit0b1be2c085aba906c87309b765dc2ef0716e160f (patch)
tree129092eecb608e1eb1cf7282c4d7deec42b6c933 /drivers
parent242ba6656d604aa8dc87451fc08143cb28d5a587 (diff)
downloadlinux-0b1be2c085aba906c87309b765dc2ef0716e160f.tar.xz
ACPI: tables: Make LAPIC_ADDR_OVR address readable in message
Without fix: [ 0.005429] ACPI: LAPIC_ADDR_OVR (address[(____ptrval____)]) With fix: [ 0.005429] ACPI: LAPIC_ADDR_OVR (address[0x800fee00000]) Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index ceee808f7f2a..47ec11d4c68e 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -151,8 +151,8 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
{
struct acpi_madt_local_apic_override *p =
(struct acpi_madt_local_apic_override *)header;
- pr_info("LAPIC_ADDR_OVR (address[%p])\n",
- (void *)(unsigned long)p->address);
+ pr_info("LAPIC_ADDR_OVR (address[0x%llx])\n",
+ p->address);
}
break;