summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/video-buf.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-04-19 16:37:02 +0000
committerGerd Knorr <devnull@localhost>2004-04-19 16:37:02 +0000
commitab23c50c5c766e5f78f3d9f15e1fd155ccf92073 (patch)
treeef55cbb2ecee47977a591d0e3a21262b159118b3 /linux/drivers/media/video/video-buf.c
parent28826727d291e24eb7e8a42f9014c3b90cba96f7 (diff)
downloadmediapointer-dvb-s2-ab23c50c5c766e5f78f3d9f15e1fd155ccf92073.tar.gz
mediapointer-dvb-s2-ab23c50c5c766e5f78f3d9f15e1fd155ccf92073.tar.bz2
- cx88: some btsc-sap bits (not enabled yet).
- saa7134: new entry for the avermedia 305. - misc fixes.
Diffstat (limited to 'linux/drivers/media/video/video-buf.c')
-rw-r--r--linux/drivers/media/video/video-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/video-buf.c b/linux/drivers/media/video/video-buf.c
index 8d143fa65..49b1d8d1c 100644
--- a/linux/drivers/media/video/video-buf.c
+++ b/linux/drivers/media/video/video-buf.c
@@ -1235,7 +1235,7 @@ int videobuf_mmap_mapper(struct vm_area_struct *vma,
map->end = vma->vm_end;
map->q = q;
vma->vm_ops = &videobuf_vm_ops;
- vma->vm_flags |= VM_DONTEXPAND;
+ vma->vm_flags |= VM_DONTEXPAND | VM_RESERVED;
vma->vm_flags &= ~VM_IO; /* using shared anonymous pages */
vma->vm_private_data = map;
dprintk(1,"mmap %p: %08lx-%08lx pgoff %08lx bufs %d-%d\n",