diff options
author | Libin <huawei.libin@huawei.com> | 2013-04-15 14:48:57 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-16 05:14:00 +0200 |
commit | 025df7755472dc5ee9ebc5aa7023eba4b4ef3e3b (patch) | |
tree | 5174bb512dde0009be5b4e9567da281bea2c38cd /include/uapi/drm | |
parent | drm: Destroy property blobs at mode config cleanup time (diff) | |
download | linux-025df7755472dc5ee9ebc5aa7023eba4b4ef3e3b.tar.xz linux-025df7755472dc5ee9ebc5aa7023eba4b4ef3e3b.zip |
drm: 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 <huawei.libin@huawei.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/uapi/drm')
0 files changed, 0 insertions, 0 deletions