Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250092
b: refs/heads/master
c: a3170c1
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Jesse Barnes committed May 21, 2011
1 parent 5a3b24c commit c8b9924
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51c2e0a7e5bc7ed1384cc68cfb95e702571500c9
refs/heads/master: a3170c1f924ce2565c4e160b9b095e65c03b2dc6
10 changes: 10 additions & 0 deletions trunk/arch/x86/pci/mmconfig-shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,16 @@ static void __init __pci_mmcfg_init(int early)
if (list_empty(&pci_mmcfg_list))
return;

if (pcibios_last_bus < 0) {
const struct pci_mmcfg_region *cfg;

list_for_each_entry(cfg, &pci_mmcfg_list, list) {
if (cfg->segment)
break;
pcibios_last_bus = cfg->end_bus;
}
}

if (pci_mmcfg_arch_init())
pci_probe = (pci_probe & ~PCI_PROBE_MASK) | PCI_PROBE_MMCONF;
else {
Expand Down

0 comments on commit c8b9924

Please sign in to comment.