Skip to content

Commit

Permalink
x86/PCI: make PCI bus locality messages more meaningful
Browse files Browse the repository at this point in the history
Change PCI bus locality messages so they have a bit more context
and look like the rest of PCI, e.g.,

    - bus 01 -> node 0
    - bus 04 -> node 0
    + pci 0000:01: bus on NUMA node 0
    + pci 0000:04: bus on NUMA node 0

Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
  • Loading branch information
Bjorn Helgaas authored and jbarnes993 committed Jan 7, 2009
1 parent 2993528 commit 0663a36
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/x86/pci/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,12 @@ struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_device *device, int do
if (bus && node != -1) {
#ifdef CONFIG_ACPI_NUMA
if (pxm >= 0)
printk(KERN_DEBUG "bus %02x -> pxm %d -> node %d\n",
busnum, pxm, node);
printk(KERN_DEBUG
"pci %04x:%02x: bus on NUMA node %d (pxm %d)\n",
domain, busnum, node, pxm);
#else
printk(KERN_DEBUG "bus %02x -> node %d\n",
busnum, node);
printk(KERN_DEBUG "pci %04x:%02x: bus on NUMA node %d\n",
domain, busnum, node);
#endif
}

Expand Down

0 comments on commit 0663a36

Please sign in to comment.