aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-10-22 01:25:01 -0400
committerDave Airlie <airlied@linux.ie>2005-10-22 01:25:01 -0400
commit5fb4dc9bf5e3af1ae91be97108bc3b1233252ddf (patch)
tree842b952d5726992ccadade70fec008a357be23ec /drivers
parent23bfc1a339e98510f2ce25a2764a0cfe195faa9e (diff)
merge linus head to drm-mm branch
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/drm/drm_vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c
index e84a7876a1b3..3f73aa774c80 100644
--- a/drivers/char/drm/drm_vm.c
+++ b/drivers/char/drm/drm_vm.c
@@ -155,7 +155,7 @@ static __inline__ struct page *drm_do_vm_shm_nopage(struct vm_area_struct *vma,
155 offset = address - vma->vm_start; 155 offset = address - vma->vm_start;
156 i = (unsigned long)map->handle + offset; 156 i = (unsigned long)map->handle + offset;
157 page = (map->type == _DRM_CONSISTENT) ? 157 page = (map->type == _DRM_CONSISTENT) ?
158 virt_to_page((void *)i) : vmalloc_to_page((void *)i); 158 virt_to_page((void *)i) : vmalloc_to_page((void *)i);
159 if (!page) 159 if (!page)
160 return NOPAGE_OOM; 160 return NOPAGE_OOM;
161 get_page(page); 161 get_page(page);