[PATCH] powerpc: Remove PPC32 code from pseries specific find_and_init_phbs()

From: Daniel Axtens
Date: Mon Apr 13 2015 - 20:17:21 EST


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@xxxxxx

Reported-by: Andreas Ruprecht <andreas.ruprecht@xxxxxx>
Fixes: bdc728a849a7
Signed-off-by: Daniel Axtens <dja@xxxxxxxxxx>
---
arch/powerpc/platforms/pseries/setup.c | 7 -------
1 file changed, 7 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 328e318..baefd3e 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -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 */
}
}

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/