alpha: kernel: Use vma_pages()
authorShyam Saini <mayhs11saini@gmail.com>
Mon, 10 Oct 2016 00:17:36 +0000 (05:47 +0530)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Sep 2017 19:04:32 +0000 (12:04 -0700)
commit236d62b03a95d70ffe04fbc4cd55a64136f2ee44
tree4f1ac60c235308b195570a6c02ff3797e9f3263f
parent03e1f04414b6e8ad9dd20081c3f8304e81f28f47
alpha: kernel: Use vma_pages()

Replace explicit computation of vma page count by a call to
vma_pages()

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/pci-sysfs.c