]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
tilegx pci: fix semantic merge conflict with 3527ed81c
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 25 Jul 2012 19:40:50 +0000 (15:40 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 25 Jul 2012 22:22:18 +0000 (18:22 -0400)
Yinghai Lu removed pci_bus.subordinate in pci-next, which meant that
the tile-next changes to add tilegx PCI support don't build.  This
was expected (seen in linux-next) and this one-line fix is along
the same lines as commit b918c62e for all other architectures.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c

index fa75264a82ae2002d77ee276c539ae2d67289e1f..0e213e35ffc32548c9259cbadb41254b04b403a6 100644 (file)
@@ -853,7 +853,7 @@ int __init pcibios_init(void)
                bus = pci_scan_root_bus(NULL, next_busno, controller->ops,
                                        controller, &resources);
                controller->root_bus = bus;
-               next_busno = bus->subordinate + 1;
+               next_busno = bus->busn_res.end + 1;
 
        }