diff options
Diffstat (limited to 'arch/ppc64/kernel/rtas_pci.c')
-rw-r--r-- | arch/ppc64/kernel/rtas_pci.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/ppc64/kernel/rtas_pci.c b/arch/ppc64/kernel/rtas_pci.c index 4a9719b48abe..3ad15c90fbbd 100644 --- a/arch/ppc64/kernel/rtas_pci.c +++ b/arch/ppc64/kernel/rtas_pci.c | |||
@@ -38,9 +38,8 @@ | |||
38 | #include <asm/pci-bridge.h> | 38 | #include <asm/pci-bridge.h> |
39 | #include <asm/iommu.h> | 39 | #include <asm/iommu.h> |
40 | #include <asm/rtas.h> | 40 | #include <asm/rtas.h> |
41 | 41 | #include <asm/mpic.h> | |
42 | #include "mpic.h" | 42 | #include <asm/ppc-pci.h> |
43 | #include "pci.h" | ||
44 | 43 | ||
45 | /* RTAS tokens */ | 44 | /* RTAS tokens */ |
46 | static int read_pci_config; | 45 | static int read_pci_config; |
@@ -401,7 +400,7 @@ unsigned long __init find_and_init_phbs(void) | |||
401 | if (!phb) | 400 | if (!phb) |
402 | continue; | 401 | continue; |
403 | 402 | ||
404 | pci_process_bridge_OF_ranges(phb, node); | 403 | pci_process_bridge_OF_ranges(phb, node, 0); |
405 | pci_setup_phb_io(phb, index == 0); | 404 | pci_setup_phb_io(phb, index == 0); |
406 | #ifdef CONFIG_PPC_PSERIES | 405 | #ifdef CONFIG_PPC_PSERIES |
407 | if (ppc64_interrupt_controller == IC_OPEN_PIC && pSeries_mpic) { | 406 | if (ppc64_interrupt_controller == IC_OPEN_PIC && pSeries_mpic) { |
@@ -451,7 +450,7 @@ struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn) | |||
451 | if (!phb) | 450 | if (!phb) |
452 | return NULL; | 451 | return NULL; |
453 | 452 | ||
454 | pci_process_bridge_OF_ranges(phb, dn); | 453 | pci_process_bridge_OF_ranges(phb, dn, primary); |
455 | 454 | ||
456 | pci_setup_phb_io_dynamic(phb, primary); | 455 | pci_setup_phb_io_dynamic(phb, primary); |
457 | of_node_put(root); | 456 | of_node_put(root); |