aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-12-18 18:34:51 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 14:13:19 -0500
commit2b8c2efe44ed897fc958131d70addc89876d806b (patch)
tree1efb8a290853264984517a02205c09a2fa541b4f /arch
parenta19f5df7d9696b9e53ba7c865816597057d5f76e (diff)
x86/PCI: use dev_printk for PCI bus locality messages
Since pci_bus has a struct device, use dev_printk directly instead of faking it by hand. 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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index 6c7683709c44..c0ecf250fe51 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -210,12 +210,10 @@ 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 213 dev_printk(KERN_DEBUG, &bus->dev,
214 "pci %04x:%02x: bus on NUMA node %d (pxm %d)\n", 214 "on NUMA node %d (pxm %d)\n", node, pxm);
215 domain, busnum, node, pxm);
216#else 215#else
217 printk(KERN_DEBUG "pci %04x:%02x: bus on NUMA node %d\n", 216 dev_printk(KERN_DEBUG, &bus->dev, "on NUMA node %d\n", node);
218 domain, busnum, node);
219#endif 217#endif
220 } 218 }
221 219