diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-19 15:54:39 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-07-20 15:29:47 +0300 |
commit | 5411ad27dba1e59923f3865f90ab756fd6b9ab3c (patch) | |
tree | fba184190c76cefbaf233b08dbce9cb88adc8353 /arch/microblaze/include/asm/pgtable.h | |
parent | bd05a58ddfd719015d66e8670af48feb386a3ca6 (diff) | |
download | linux-5411ad27dba1e59923f3865f90ab756fd6b9ab3c.tar.xz |
microblaze: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation.
This removes the direction-based optimizations in
sync_{single,sg}_for_{cpu,device} which were marked untestested and
do not match the usually very well tested {un,}map_{single,sg}
implementations.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/pgtable.h')
-rw-r--r-- | arch/microblaze/include/asm/pgtable.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h index db8b1fa83452..8a2e654b709f 100644 --- a/arch/microblaze/include/asm/pgtable.h +++ b/arch/microblaze/include/asm/pgtable.h @@ -553,8 +553,6 @@ void __init *early_get_page(void); extern unsigned long ioremap_bot, ioremap_base; -void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle); -void consistent_free(size_t size, void *vaddr); void consistent_sync(void *vaddr, size_t size, int direction); void consistent_sync_page(struct page *page, unsigned long offset, size_t size, int direction); |