diff options
Diffstat (limited to 'arch/arm64/mm/init.c')
-rw-r--r-- | arch/arm64/mm/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 5f719ba949bc..efbf7df05d3f 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c | |||
@@ -301,10 +301,7 @@ void __init mem_init(void) | |||
301 | unsigned long reserved_pages, free_pages; | 301 | unsigned long reserved_pages, free_pages; |
302 | struct memblock_region *reg; | 302 | struct memblock_region *reg; |
303 | 303 | ||
304 | #if CONFIG_SWIOTLB | 304 | arm64_swiotlb_init(); |
305 | extern void __init arm64_swiotlb_init(size_t max_size); | ||
306 | arm64_swiotlb_init(max_pfn << (PAGE_SHIFT - 1)); | ||
307 | #endif | ||
308 | 305 | ||
309 | max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; | 306 | max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; |
310 | 307 | ||