diff options
Diffstat (limited to 'arch/x86/include/asm/pci.h')
-rw-r--r-- | arch/x86/include/asm/pci.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index 1411dbed5e5e..f513cc231151 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/string.h> | 7 | #include <linux/string.h> |
8 | #include <linux/scatterlist.h> | 8 | #include <linux/scatterlist.h> |
9 | #include <asm/io.h> | 9 | #include <asm/io.h> |
10 | #include <asm/pat.h> | ||
10 | #include <asm/x86_init.h> | 11 | #include <asm/x86_init.h> |
11 | 12 | ||
12 | #ifdef __KERNEL__ | 13 | #ifdef __KERNEL__ |
@@ -102,10 +103,8 @@ int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | |||
102 | 103 | ||
103 | 104 | ||
104 | #define HAVE_PCI_MMAP | 105 | #define HAVE_PCI_MMAP |
105 | extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | 106 | #define arch_can_pci_mmap_wc() pat_enabled() |
106 | enum pci_mmap_state mmap_state, | 107 | #define ARCH_GENERIC_PCI_MMAP_RESOURCE |
107 | int write_combine); | ||
108 | |||
109 | 108 | ||
110 | #ifdef CONFIG_PCI | 109 | #ifdef CONFIG_PCI |
111 | extern void early_quirks(void); | 110 | extern void early_quirks(void); |