x86: srat table print out using hex for apic id print out
PATCH 1/1 x86: srat table print out using hex for apic id print out
make it consistent with APIC MADT print out
for big system APIC id in hex is more readable
Signed-off-by Yinghai Lu <[email protected]>
--- arch/x86/mm/srat_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/srat_64.c +2 -2
@@ -136,7 +136,7 @@ acpi_numa_x2apic_affinity_init(struct ac apicid_to_node[apic_id] = node;node_set (node, cpu_nodes_parsed); acpi_numa =1 ; -printk (KERN_INFO "SRAT: PXM %u -> APIC %u -> Node %u\n" , +printk (KERN_INFO "SRAT: PXM %u -> APIC 0x%04x -> Node %u\n" , pxm, apic_id, node); }
@@ -172,7 +172,7 @@ acpi_numa_processor_affinity_init(struct apicid_to_node[apic_id] = node;node_set (node, cpu_nodes_parsed); acpi_numa =1 ; -printk (KERN_INFO "SRAT: PXM %u -> APIC %u -> Node %u\n" , +printk (KERN_INFO "SRAT: PXM %u -> APIC 0x%02x -> Node %u\n" , pxm, apic_id, node); }