misc: mic: scif: use vma_pages().
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Sat, 21 May 2016 13:11:38 +0000 (18:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2016 12:45:50 +0000 (14:45 +0200)
commitacde785e492d6ce838f50937f7547124e0837a55
tree5ac32664829695de125adfdb63230ea46377786c
parentb6faae97a157a7d3d3ab7f806e85059ca075e1b5
misc: mic: scif: use vma_pages().

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

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/scif/scif_mmap.c