Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
char: Use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT
(*->vm_end - *->vm_start) >> PAGE_SHIFT operation is implemented as a inline funcion vma_pages() in linux/mm.h, so using it. Signed-off-by: Libin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information