summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorLibin <huawei.libin@huawei.com>2013-04-15 14:48:57 +0200
committerDave Airlie <airlied@redhat.com>2013-04-16 05:14:00 +0200
commit025df7755472dc5ee9ebc5aa7023eba4b4ef3e3b (patch)
tree5174bb512dde0009be5b4e9567da281bea2c38cd /include/uapi/drm
parentdrm: Destroy property blobs at mode config cleanup time (diff)
downloadlinux-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