diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/videobuf-dma-sg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c index bc6d5aba0fe6..da1790e57a86 100644 --- a/drivers/media/video/videobuf-dma-sg.c +++ b/drivers/media/video/videobuf-dma-sg.c | |||
@@ -388,8 +388,7 @@ videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) | |||
388 | page = alloc_page(GFP_USER | __GFP_DMA32); | 388 | page = alloc_page(GFP_USER | __GFP_DMA32); |
389 | if (!page) | 389 | if (!page) |
390 | return VM_FAULT_OOM; | 390 | return VM_FAULT_OOM; |
391 | clear_user_page(page_address(page), (unsigned long)vmf->virtual_address, | 391 | clear_user_highpage(page, (unsigned long)vmf->virtual_address); |
392 | page); | ||
393 | vmf->page = page; | 392 | vmf->page = page; |
394 | return 0; | 393 | return 0; |
395 | } | 394 | } |