diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-10 15:12:00 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:12:45 -0500 |
commit | 0663a36284586ac9a9781be8aa7e8ca9fff16d06 (patch) | |
tree | 6b0b9aab96b2c0022b40eb20e89828fd069d7fcf /arch | |
parent | 29935282f24a6ce2f0a65c3d77fb7f695461f583 (diff) |
x86/PCI: make PCI bus locality messages more meaningful
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 <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/pci/acpi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index 9e5752fe4d15..6c7683709c44 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c | |||
@@ -210,11 +210,12 @@ struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_device *device, int do | |||
210 | if (bus && node != -1) { | 210 | if (bus && node != -1) { |
211 | #ifdef CONFIG_ACPI_NUMA | 211 | #ifdef CONFIG_ACPI_NUMA |
212 | if (pxm >= 0) | 212 | if (pxm >= 0) |
213 | printk(KERN_DEBUG "bus %02x -> pxm %d -> node %d\n", | 213 | printk(KERN_DEBUG |
214 | busnum, pxm, node); | 214 | "pci %04x:%02x: bus on NUMA node %d (pxm %d)\n", |
215 | domain, busnum, node, pxm); | ||
215 | #else | 216 | #else |
216 | printk(KERN_DEBUG "bus %02x -> node %d\n", | 217 | printk(KERN_DEBUG "pci %04x:%02x: bus on NUMA node %d\n", |
217 | busnum, node); | 218 | domain, busnum, node); |
218 | #endif | 219 | #endif |
219 | } | 220 | } |
220 | 221 | ||