diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-02-27 12:24:57 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-02-27 14:11:53 +0000 |
commit | 3690951fc6d42f3a0903987677d0e592c49dd8db (patch) | |
tree | 7f4e0c36960b591263bd591180631b403d578c27 /arch/arm64/mm/init.c | |
parent | 19e7640d1f2302c20df2733e3e3df49acb17189e (diff) | |
download | op-kernel-dev-3690951fc6d42f3a0903987677d0e592c49dd8db.zip op-kernel-dev-3690951fc6d42f3a0903987677d0e592c49dd8db.tar.gz |
arm64: Use swiotlb late initialisation
Since arm64 does not support ISA, there is no need for early swiotlb
initialisation. This patch switches the DMA mapping code to
swiotlb_tlb_late_init_with_default_size(). A side effect of this is that
GFP_DMA is used for the swiotlb buffer and devices with a 32-bit
coherent mask are correctly supported.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/init.c')
-rw-r--r-- | arch/arm64/mm/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index a61a4d5..88627c4 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -262,8 +262,6 @@ static void __init free_unused_memmap(void) */ void __init mem_init(void) { - arm64_swiotlb_init(); - max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; #ifndef CONFIG_SPARSEMEM_VMEMMAP |