aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-25 08:46:34 +0200
committerChristoph Hellwig <hch@lst.de>2018-09-30 16:07:35 -0700
commitb733116feab5471c0489ab33e90fceb553215e5b (patch)
tree09f9fcb4b6e694c601208c24bff94867804d91c8 /arch/unicore32/mm
parentRevert "dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops" (diff)
downloadlinux-dev-b733116feab5471c0489ab33e90fceb553215e5b.tar.xz
linux-dev-b733116feab5471c0489ab33e90fceb553215e5b.zip
unicore32: remove swiotlb support
unicore32 is a bog standard 32-bit port without larger physical address space, highmem or any other obvious addressing limitation. There should be no need to bounce buffer using swiotlb. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Guan Xuetao <gxt@pku.edu.cn>
Diffstat (limited to 'arch/unicore32/mm')
-rw-r--r--arch/unicore32/mm/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/unicore32/mm/init.c b/arch/unicore32/mm/init.c
index f4950fbfe574..5f72a8d1d953 100644
--- a/arch/unicore32/mm/init.c
+++ b/arch/unicore32/mm/init.c
@@ -234,9 +234,6 @@ void __init bootmem_init(void)
uc32_bootmem_init(min, max_low);
-#ifdef CONFIG_SWIOTLB
- swiotlb_init(1);
-#endif
/*
* Sparsemem tries to allocate bootmem in memory_present(),
* so must be done after the fixed reservations