summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pci_x86.h
diff options
context:
space:
mode:
authorJiang Liu2012-06-22 08:55:13 +0200
committerBjorn Helgaas2012-06-22 23:16:31 +0200
commit9cf0105da5a315677d8f91043fb87fdade0d8b39 (patch)
tree85519a44e3c8363bff3ec0f68e0a2fbeb3e75a2b /arch/x86/include/asm/pci_x86.h
parentx86/PCI: use RCU list to protect mmconfig list (diff)
downloadkernel-qcow2-linux-9cf0105da5a315677d8f91043fb87fdade0d8b39.tar.gz
kernel-qcow2-linux-9cf0105da5a315677d8f91043fb87fdade0d8b39.tar.xz
kernel-qcow2-linux-9cf0105da5a315677d8f91043fb87fdade0d8b39.zip
x86/PCI: introduce pci_mmcfg_arch_map()/pci_mmcfg_arch_unmap()
Introduce pci_mmcfg_arch_map()/pci_mmcfg_arch_unmap(), which will be used when supporting PCI root bridge hotplug. Reviewed-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jiang Liu <liuj97@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/include/asm/pci_x86.h')
-rw-r--r--arch/x86/include/asm/pci_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
index b3a531746026..df898ceab4d4 100644
--- a/arch/x86/include/asm/pci_x86.h
+++ b/arch/x86/include/asm/pci_x86.h
@@ -135,6 +135,8 @@ struct pci_mmcfg_region {
extern int __init pci_mmcfg_arch_init(void);
extern void __init pci_mmcfg_arch_free(void);
+extern int __devinit pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg);
+extern void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg);
extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus);
extern struct list_head pci_mmcfg_list;