aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/video-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c
index f429f49901b9..635d102c86f0 100644
--- a/drivers/media/video/video-buf.c
+++ b/drivers/media/video/video-buf.c
@@ -1229,7 +1229,7 @@ videobuf_vm_nopage(struct vm_area_struct *vma, unsigned long vaddr,
1229 vaddr,vma->vm_start,vma->vm_end); 1229 vaddr,vma->vm_start,vma->vm_end);
1230 if (vaddr > vma->vm_end) 1230 if (vaddr > vma->vm_end)
1231 return NOPAGE_SIGBUS; 1231 return NOPAGE_SIGBUS;
1232 page = alloc_page(GFP_USER); 1232 page = alloc_page(GFP_USER | __GFP_DMA32);
1233 if (!page) 1233 if (!page)
1234 return NOPAGE_OOM; 1234 return NOPAGE_OOM;
1235 clear_user_page(page_address(page), vaddr, page); 1235 clear_user_page(page_address(page), vaddr, page);