From b733116feab5471c0489ab33e90fceb553215e5b Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sat, 25 Aug 2018 08:46:34 +0200 Subject: 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 Acked-by: Guan Xuetao --- arch/unicore32/mm/init.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/unicore32/mm/init.c') 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 -- cgit v1.2.3-59-g8ed1b