Skip to content

Commit

Permalink
ARM: 8286/1: mm: Fix dma_contiguous_reserve comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
George G. Davis authored and Russell King committed Jan 21, 2015
1 parent 35997a2 commit 99a468d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99a468d

Please sign in to comment.