diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2013-06-14 09:05:41 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-06-18 20:29:08 +0200 |
commit | 2cc7138f4347df939ce03f313e3d87794bab36f8 (patch) | |
tree | 454da49dd4761ae664ca8901944c4b5c89a6f0cf /arch/parisc/include | |
parent | 9a66d1869d90f13fbaf83dcce5b1aeec86fbc699 (diff) | |
download | linux-2cc7138f4347df939ce03f313e3d87794bab36f8.tar.bz2 |
parisc: provide pci_mmap_page_range() for parisc
pci_mmap_page_range() is needed for X11-server support on C8000 with ATI
FireGL card.
Signed-off-by Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h index 3234f492d575..465154076d23 100644 --- a/arch/parisc/include/asm/pci.h +++ b/arch/parisc/include/asm/pci.h @@ -225,4 +225,9 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) return channel ? 15 : 14; } +#define HAVE_PCI_MMAP + +extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, + enum pci_mmap_state mmap_state, int write_combine); + #endif /* __ASM_PARISC_PCI_H */ |