]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
powerpc: Remove PPC32 code from pseries specific find_and_init_phbs()
authorDaniel Axtens <dja@axtens.net>
Tue, 14 Apr 2015 00:16:47 +0000 (10:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 Apr 2015 07:14:22 +0000 (17:14 +1000)
In bdc728a849a7 ("powerpc: move find_and_init_phbs() to pSeries
specific code"), find_and_init_phbs() was moved into a pseries
specific file, but PPC32 code wasn't removed. Remove it.

See https://lkml.kernel.org/r/552C0AA6.4010403@fau.de

Reported-by: Andreas Ruprecht <andreas.ruprecht@fau.de>
Fixes: bdc728a849a7
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/setup.c

index 1044b8b4da71e53648e86babb8ff4e06c89819dc..df6a7041922b67f8c9326169f3d6314a61561488 100644 (file)
@@ -499,13 +499,6 @@ static void __init find_and_init_phbs(void)
                        else
                                pci_clear_flags(PCI_PROBE_ONLY);
                }
-
-#ifdef CONFIG_PPC32 /* Will be made generic soon */
-               prop = of_get_property(of_chosen,
-                               "linux,pci-assign-all-buses", NULL);
-               if (prop && *prop)
-                       pci_add_flags(PCI_REASSIGN_ALL_BUS);
-#endif /* CONFIG_PPC32 */
        }
 }