summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2017-04-12 13:26:07 +0100
committerBjorn Helgaas <bhelgaas@google.com>2017-04-20 08:47:47 -0500
commit5c2d5ce2ab4bd716b2125f15b2e0879143ac0563 (patch)
tree3b1f3e56c1a59c3390518e64e73bf548d51cbbf4 /arch/x86/include
parent69c701ec1f97315dc0f482699f370887448e150e (diff)
downloadop-kernel-dev-5c2d5ce2ab4bd716b2125f15b2e0879143ac0563.zip
op-kernel-dev-5c2d5ce2ab4bd716b2125f15b2e0879143ac0563.tar.gz
x86/PCI: Use generic pci_mmap_resource_range()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h
index 734cc94..f513cc2 100644
--- a/arch/x86/include/asm/pci.h
+++ b/arch/x86/include/asm/pci.h
@@ -104,6 +104,7 @@ int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq);
#define HAVE_PCI_MMAP
#define arch_can_pci_mmap_wc() pat_enabled()
+#define ARCH_GENERIC_PCI_MMAP_RESOURCE
#ifdef CONFIG_PCI
extern void early_quirks(void);
OpenPOWER on IntegriCloud