mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 09:47:20 +00:00
merge linus head to drm-mm branch
This commit is contained in:
parent
23bfc1a339
commit
5fb4dc9bf5
@ -155,7 +155,7 @@ static __inline__ struct page *drm_do_vm_shm_nopage(struct vm_area_struct *vma,
|
|||||||
offset = address - vma->vm_start;
|
offset = address - vma->vm_start;
|
||||||
i = (unsigned long)map->handle + offset;
|
i = (unsigned long)map->handle + offset;
|
||||||
page = (map->type == _DRM_CONSISTENT) ?
|
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)
|
if (!page)
|
||||||
return NOPAGE_OOM;
|
return NOPAGE_OOM;
|
||||||
get_page(page);
|
get_page(page);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user