Skip to content

Commit

Permalink
merge linus head to drm-mm branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Oct 22, 2005
1 parent 23bfc1a commit 5fb4dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/drm_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static __inline__ struct page *drm_do_vm_shm_nopage(struct vm_area_struct *vma,
offset = address - vma->vm_start;
i = (unsigned long)map->handle + offset;
page = (map->type == _DRM_CONSISTENT) ?
virt_to_page((void *)i) : vmalloc_to_page((void *)i);
virt_to_page((void *)i) : vmalloc_to_page((void *)i);
if (!page)
return NOPAGE_OOM;
get_page(page);
Expand Down

0 comments on commit 5fb4dc9

Please sign in to comment.