aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-11-13 19:34:39 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-24 18:30:01 -0500
commit3f0f5503926f7447615f083c2d57545a83b6357c (patch)
tree9ab3d2378eea794c34baac952eb753b31afd673d /arch/x86/include
parent2f2a8b9c90279e75f87aaf322a948bdced27e89f (diff)
x86/PCI: MMCONFIG: add virtual address to struct pci_mmcfg_region
The virtual address is only used for x86_64, but it's so much simpler to manage it as part of the pci_mmcfg_region that I think it's worth wasting a pointer per MMCONFIG region on x86_32. 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/include')
-rw-r--r--arch/x86/include/asm/pci_x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
index a6d42c10b017..7aa2ed8f25ab 100644
--- a/arch/x86/include/asm/pci_x86.h
+++ b/arch/x86/include/asm/pci_x86.h
@@ -124,6 +124,7 @@ extern int __init pcibios_init(void);
124struct pci_mmcfg_region { 124struct pci_mmcfg_region {
125 struct resource res; 125 struct resource res;
126 u64 address; 126 u64 address;
127 char __iomem *virt;
127 u16 segment; 128 u16 segment;
128 u8 start_bus; 129 u8 start_bus;
129 u8 end_bus; 130 u8 end_bus;