diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 30eedfc5a566..1f75bf03446f 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -558,11 +558,8 @@ void __devinit pcibios_setup_new_device(struct pci_dev *dev) | |||
558 | sd->of_node ? sd->of_node->full_name : "<none>"); | 558 | sd->of_node ? sd->of_node->full_name : "<none>"); |
559 | 559 | ||
560 | sd->dma_ops = pci_dma_ops; | 560 | sd->dma_ops = pci_dma_ops; |
561 | #ifdef CONFIG_NUMA | 561 | set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); |
562 | sd->numa_node = pcibus_to_node(dev->bus); | 562 | |
563 | #else | ||
564 | sd->numa_node = -1; | ||
565 | #endif | ||
566 | if (ppc_md.pci_dma_dev_setup) | 563 | if (ppc_md.pci_dma_dev_setup) |
567 | ppc_md.pci_dma_dev_setup(dev); | 564 | ppc_md.pci_dma_dev_setup(dev); |
568 | } | 565 | } |