aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-19 09:04:55 +0200
committerHelge Deller <deller@gmx.de>2018-08-13 09:30:32 +0200
commitc1f59375b3782f478ac2c488889abdc00dd8e25f (patch)
tree618197af450d2db9600dfcfbc25dc6c2772462f4 /arch/parisc/include
parentparisc: always use flush_kernel_dcache_range for DMA cache maintainance (diff)
downloadlinux-dev-c1f59375b3782f478ac2c488889abdc00dd8e25f.tar.xz
linux-dev-c1f59375b3782f478ac2c488889abdc00dd8e25f.zip
parisc: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Fix sync_single_for_cpu to do skip the cache flush unless the transfer is to the device to match the more tested unmap_single path which should have the same cache coherency implications. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/dma-mapping.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/dma-mapping.h b/arch/parisc/include/asm/dma-mapping.h
index eeec8dd18e74..44a9f97194aa 100644
--- a/arch/parisc/include/asm/dma-mapping.h
+++ b/arch/parisc/include/asm/dma-mapping.h
@@ -21,10 +21,6 @@
** flush/purge and allocate "regular" cacheable pages for everything.
*/
-#ifdef CONFIG_PA11
-extern const struct dma_map_ops pa11_dma_ops;
-#endif
-
extern const struct dma_map_ops *hppa_dma_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)