Re: [PATCH] arm64: use vma_pages helper

2017-10-05 Thread Allen
Use vma_pages function on vma object instead of explicit computation. This is a clean up patch. A version of this is already queued for -next here: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?h=for-next/core&id=b4f4a2755665bf847231050b569f587ce0945482 Ah.

Re: [PATCH] arm64: use vma_pages helper

2017-10-05 Thread Robin Murphy
On 05/10/17 13:16, Allen Pais wrote: > Use vma_pages function on vma object instead of explicit computation. > This is a clean up patch. A version of this is already queued for -next here: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?h=for-next/core&id=b4f4a2755665b

[PATCH] arm64: use vma_pages helper

2017-10-05 Thread Allen Pais
Use vma_pages function on vma object instead of explicit computation. This is a clean up patch. Signed-off-by: Allen Pais --- arch/arm64/mm/dma-mapping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index 614a