diff options
author | George G. Davis <ggdavisiv@gmail.com> | 2015-01-16 05:21:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-21 10:59:19 -0500 |
commit | 99a468d779f6851a31053e6a33bf91391034010b (patch) | |
tree | 7c9feb65a535727ba447699686c8ab57d57ad1e4 /arch/arm/mm/init.c | |
parent | 35997a231021d603ddc73e1abfbe4f76d63f23b2 (diff) |
ARM: 8286/1: mm: Fix dma_contiguous_reserve comment
DMA contiguous allocations have been able to use highmem since commit
"95b0e65 ARM: mm: don't limit default CMA region only to low memory"
but a comment still notes the earlier "low memory" limitation. Update
the comment to remove the low memory limitation and fix the
s/contigouos/contiguous/ typo while we're at it.
Signed-off-by: George G. Davis <george_davis@mentor.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/init.c')
-rw-r--r-- | arch/arm/mm/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 98ad9c79ea0e..d538dc73fcb0 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -319,10 +319,7 @@ void __init arm_memblock_init(const struct machine_desc *mdesc) | |||
319 | 319 | ||
320 | early_init_fdt_scan_reserved_mem(); | 320 | early_init_fdt_scan_reserved_mem(); |
321 | 321 | ||
322 | /* | 322 | /* reserve memory for DMA contiguous allocations */ |
323 | * reserve memory for DMA contigouos allocations, | ||
324 | * must come from DMA area inside low memory | ||
325 | */ | ||
326 | dma_contiguous_reserve(arm_dma_limit); | 323 | dma_contiguous_reserve(arm_dma_limit); |
327 | 324 | ||
328 | arm_memblock_steal_permitted = false; | 325 | arm_memblock_steal_permitted = false; |