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: NMuhammad Falak R Wani <falakreyaz@gmail.com> Reviewed-by: NEric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: NSumit Semwal <sumit.semwal@linaro.org>
Showing
想要评论请 注册 或 登录