summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/mmconfig_32.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-11-13 17:34:13 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-24 15:29:17 -0800
commitd215a9c8b46e55a1d3bc1cd907c943ef95938a0e (patch)
treee377a5f8995fdc83bf333d7f6cee69b59447d686 /arch/x86/pci/mmconfig_32.c
parentdf5eb1d67e8074dfbc23cf396c556116728187b3 (diff)
downloadop-kernel-dev-d215a9c8b46e55a1d3bc1cd907c943ef95938a0e.zip
op-kernel-dev-d215a9c8b46e55a1d3bc1cd907c943ef95938a0e.tar.gz
x86/PCI: MMCONFIG: use a private structure rather than the ACPI MCFG one
This adds a struct pci_mmcfg_region with a little more information than the struct acpi_mcfg_allocation used previously. The acpi_mcfg structure is defined by the spec, so we can't change it. To begin with, struct pci_mmcfg_region is basically the same as the ACPI MCFG version, but future patches will add more information. Reviewed-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci/mmconfig_32.c')
-rw-r--r--arch/x86/pci/mmconfig_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/mmconfig_32.c b/arch/x86/pci/mmconfig_32.c
index 8c19df8..3936ece 100644
--- a/arch/x86/pci/mmconfig_32.c
+++ b/arch/x86/pci/mmconfig_32.c
@@ -27,7 +27,7 @@ static int mmcfg_last_accessed_cpu;
*/
static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn)
{
- struct acpi_mcfg_allocation *cfg;
+ struct pci_mmcfg_region *cfg;
int cfg_num;
for (cfg_num = 0; cfg_num < pci_mmcfg_config_num; cfg_num++) {
OpenPOWER on IntegriCloud