Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174811
b: refs/heads/master
c: 95cf1cf
h: refs/heads/master
i:
  174809: f9aaaec
  174807: 67ac210
v: v3
  • Loading branch information
Bjorn Helgaas authored and Jesse Barnes committed Nov 24, 2009
1 parent d420c87 commit 5ced704
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7e6b66fe87c9f42480d73fc314aecaeae84ca6b
refs/heads/master: 95cf1cf0c5a767feb811dfed298b95b1df8824c7
12 changes: 7 additions & 5 deletions trunk/arch/x86/pci/mmconfig-shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ static __init struct pci_mmcfg_region *pci_mmconfig_add(int segment, int start,
kfree(pci_mmcfg_config);
}
pci_mmcfg_config = new;

pci_mmcfg_config_num++;
pci_mmcfg_config[i].address = addr;
pci_mmcfg_config[i].segment = segment;
pci_mmcfg_config[i].start_bus = start;
pci_mmcfg_config[i].end_bus = end;

new = &pci_mmcfg_config[i];

new->address = addr;
new->segment = segment;
new->start_bus = start;
new->end_bus = end;

return &pci_mmcfg_config[i];
}
Expand Down

0 comments on commit 5ced704

Please sign in to comment.