Skip to content
Commit b02da6f8 authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani Committed by Sumit Semwal
Browse files

dma-buf: use vma_pages()



Replace explicit computation of vma page count by a call to
vma_pages().
Also, include <linux/mm.h>

Signed-off-by: default avatarMuhammad Falak R Wani <falakreyaz@gmail.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
parent 4320c2a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment