summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-11 23:53:55 -0400
committerLen Brown <len.brown@intel.com>2009-06-12 20:50:38 -0400
commitc4bf2f372db09ef8d16a25a60d523bfa1c50f7b5 (patch)
tree0323bf3d79875ae2bd0a59657595e9f532a640e1 /arch/x86/include/asm
parent24c5c4c2f506bf87ef2343669fb892c944c3fdde (diff)
downloadblackbird-op-linux-c4bf2f372db09ef8d16a25a60d523bfa1c50f7b5.tar.gz
blackbird-op-linux-c4bf2f372db09ef8d16a25a60d523bfa1c50f7b5.zip
ACPI, PCI, x86: move MCFG parsing routine from ACPI to PCI file
Move arch/x86/kernel/acpi/boot.c: acpi_parse_mcfg() to arch/x86/pci/mmconfig-shared.c: pci_parse_mcfg() where it is used, and make it static. Move associated globals and helper routine with it. No functional change. This code move is in preparation for SFI support, which will allow the PCI code to find the MCFG table on systems which do not support ACPI. Signed-off-by: Len Brown <len.brown@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/pci_x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
index e60fd3e14bdf..b399988eee3a 100644
--- a/arch/x86/include/asm/pci_x86.h
+++ b/arch/x86/include/asm/pci_x86.h
@@ -121,6 +121,9 @@ extern int __init pcibios_init(void);
extern int __init pci_mmcfg_arch_init(void);
extern void __init pci_mmcfg_arch_free(void);
+extern struct acpi_mcfg_allocation *pci_mmcfg_config;
+extern int pci_mmcfg_config_num;
+
/*
* AMD Fam10h CPUs are buggy, and cannot access MMIO config space
* on their northbrige except through the * %eax register. As such, you MUST
OpenPOWER on IntegriCloud