diff options
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index 26fe09936935..76b344125cef 100644 --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c | |||
@@ -1777,7 +1777,8 @@ static void pnv_ioda_setup_pe_seg(struct pci_controller *hose, | |||
1777 | region.start += phb->ioda.io_segsize; | 1777 | region.start += phb->ioda.io_segsize; |
1778 | index++; | 1778 | index++; |
1779 | } | 1779 | } |
1780 | } else if (res->flags & IORESOURCE_MEM) { | 1780 | } else if ((res->flags & IORESOURCE_MEM) && |
1781 | !pnv_pci_is_mem_pref_64(res->flags)) { | ||
1781 | region.start = res->start - | 1782 | region.start = res->start - |
1782 | hose->mem_offset[0] - | 1783 | hose->mem_offset[0] - |
1783 | phb->ioda.m32_pci_base; | 1784 | phb->ioda.m32_pci_base; |