diff options
| -rw-r--r-- | arch/powerpc/kernel/pci-common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 8acd7c970830..7f2273cc3c7d 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
| @@ -671,10 +671,9 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose, | |||
| 671 | int rlen; | 671 | int rlen; |
| 672 | int pna = of_n_addr_cells(dev); | 672 | int pna = of_n_addr_cells(dev); |
| 673 | int np = pna + 5; | 673 | int np = pna + 5; |
| 674 | int memno = 0, isa_hole = -1; | 674 | int memno = 0; |
| 675 | u32 pci_space; | 675 | u32 pci_space; |
| 676 | unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size; | 676 | unsigned long long pci_addr, cpu_addr, pci_next, cpu_next, size; |
| 677 | unsigned long long isa_mb = 0; | ||
| 678 | struct resource *res; | 677 | struct resource *res; |
| 679 | 678 | ||
| 680 | printk(KERN_INFO "PCI host bridge %s %s ranges:\n", | 679 | printk(KERN_INFO "PCI host bridge %s %s ranges:\n", |
| @@ -768,8 +767,6 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose, | |||
| 768 | } | 767 | } |
| 769 | /* Handles ISA memory hole space here */ | 768 | /* Handles ISA memory hole space here */ |
| 770 | if (pci_addr == 0) { | 769 | if (pci_addr == 0) { |
| 771 | isa_mb = cpu_addr; | ||
| 772 | isa_hole = memno; | ||
| 773 | if (primary || isa_mem_base == 0) | 770 | if (primary || isa_mem_base == 0) |
| 774 | isa_mem_base = cpu_addr; | 771 | isa_mem_base = cpu_addr; |
| 775 | hose->isa_mem_phys = cpu_addr; | 772 | hose->isa_mem_phys = cpu_addr; |
