ARM: 8286/1: mm: Fix dma_contiguous_reserve comment
authorGeorge G. Davis <ggdavisiv@gmail.com>
Fri, 16 Jan 2015 10:21:05 +0000 (11:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 15:59:19 +0000 (15:59 +0000)
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>
arch/arm/mm/init.c

index 98ad9c79ea0e6a1e980a5f0c09e4c25389e060e2..d538dc73fcb0eca2c3303548cb796b69b8355188 100644 (file)
@@ -319,10 +319,7 @@ void __init arm_memblock_init(const struct machine_desc *mdesc)
 
        early_init_fdt_scan_reserved_mem();
 
-       /*
-        * reserve memory for DMA contigouos allocations,
-        * must come from DMA area inside low memory
-        */
+       /* reserve memory for DMA contiguous allocations */
        dma_contiguous_reserve(arm_dma_limit);
 
        arm_memblock_steal_permitted = false;