Commit:     10329b962be782fa4fbebea9358063a4507d0c4d
Parent:     e382f62be8a92ebbdf697ebfab260b7d943a359f
Author:     Gerd Hoffmann <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 12 21:26:32 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Jan 15 16:26:01 2007 -0200

    V4L/DVB (5069): Fix bttv and friends on 64bit machines with lots of memory
    We have a DMA32 zone now, lets use it to make sure the card
    can reach the memory we have allocated for the video frame
    Signed-off-by: Gerds Hoffmann <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 drivers/media/video/video-buf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c
index f429f49..635d102 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,
        if (vaddr > vma->vm_end)
                return NOPAGE_SIGBUS;
-       page = alloc_page(GFP_USER);
+       page = alloc_page(GFP_USER | __GFP_DMA32);
        if (!page)
                return NOPAGE_OOM;
        clear_user_page(page_address(page), vaddr, page);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to