public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/pci: make pci=lastbus=255 work when acpi is on
@ 2009-03-25 20:26 Yinghai Lu
  2009-03-26 23:09 ` Jesse Barnes
  0 siblings, 1 reply; 2+ messages in thread
From: Yinghai Lu @ 2009-03-25 20:26 UTC (permalink / raw)
  To: Jesse Barnes, Ingo Molnar, Andrew Morton, H. Peter Anvin,
	Thomas Gleixner
  Cc: linux-kernel@vger.kernel.org


Impact: scan more peer root buses even acpi is used

move out pci_bios_fixup_peer_bridges of pci_legacy_init.
so pci_bios_fixup_peer_bridges could be called even pci_apci_init is called.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 arch/x86/pci/legacy.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6/arch/x86/pci/legacy.c
===================================================================
--- linux-2.6.orig/arch/x86/pci/legacy.c
+++ linux-2.6/arch/x86/pci/legacy.c
@@ -50,8 +50,6 @@ static int __init pci_legacy_init(void)
 	if (pci_root_bus)
 		pci_bus_add_devices(pci_root_bus);
 
-	pcibios_fixup_peer_bridges();
-
 	return 0;
 }
 
@@ -67,6 +65,7 @@ int __init pci_subsys_init(void)
 	pci_visws_init();
 #endif
 	pci_legacy_init();
+	pcibios_fixup_peer_bridges();
 	pcibios_irq_init();
 	pcibios_init();
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-26 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 20:26 [PATCH] x86/pci: make pci=lastbus=255 work when acpi is on Yinghai Lu
2009-03-26 23:09 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox