aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r--arch/powerpc/kernel/pci_64.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index 88b78484b944..5ffab8787b93 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -967,11 +967,7 @@ void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose,
967 res = NULL; 967 res = NULL;
968 pci_space = ranges[0]; 968 pci_space = ranges[0];
969 pci_addr = ((unsigned long)ranges[1] << 32) | ranges[2]; 969 pci_addr = ((unsigned long)ranges[1] << 32) | ranges[2];
970 970 cpu_phys_addr = of_translate_address(dev, &ranges[3]);
971 cpu_phys_addr = ranges[3];
972 if (na >= 2)
973 cpu_phys_addr = (cpu_phys_addr << 32) | ranges[4];
974
975 size = ((unsigned long)ranges[na+3] << 32) | ranges[na+4]; 971 size = ((unsigned long)ranges[na+3] << 32) | ranges[na+4];
976 ranges += np; 972 ranges += np;
977 if (size == 0) 973 if (size == 0)