aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-09 12:11:22 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-09 12:11:22 +0100
commit2abdec742f205cd0d01e957d72de3fe6d2df9601 (patch)
tree9e9a4cb8545fb7890ae95d5befefe15884e50f30
parent98c86936b55fca0da01fd75096784b637898eea8 (diff)
Update backports/v4.8_user_pages_flag.patch
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--backports/v4.8_user_pages_flag.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/backports/v4.8_user_pages_flag.patch b/backports/v4.8_user_pages_flag.patch
index ba0e7c2..3765019 100644
--- a/backports/v4.8_user_pages_flag.patch
+++ b/backports/v4.8_user_pages_flag.patch
@@ -1,24 +1,3 @@
-diff --git a/drivers/media/common/videobuf2/videobuf2-memops.c b/drivers/media/common/videobuf2/videobuf2-memops.c
-index 6e9e05153f4e..6c029616977f 100644
---- a/drivers/media/common/videobuf2/videobuf2-memops.c
-+++ b/drivers/media/common/videobuf2/videobuf2-memops.c
-@@ -40,7 +40,6 @@ struct frame_vector *vb2_create_framevec(unsigned long start,
- unsigned long first, last;
- unsigned long nr;
- struct frame_vector *vec;
-- unsigned int flags = FOLL_FORCE | FOLL_WRITE;
-
- first = start >> PAGE_SHIFT;
- last = (start + length - 1) >> PAGE_SHIFT;
-@@ -48,7 +47,7 @@ struct frame_vector *vb2_create_framevec(unsigned long start,
- vec = frame_vector_create(nr);
- if (!vec)
- return ERR_PTR(-ENOMEM);
-- ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, vec);
-+ ret = get_vaddr_frames(start & PAGE_MASK, nr, true, true, vec);
- if (ret < 0)
- goto out_destroy;
- /* We accept only complete set of PFNs */
diff --git a/drivers/media/pci/ivtv/ivtv-udma.c b/drivers/media/pci/ivtv/ivtv-udma.c
index 5f8883031c9c..8cd24ffe9484 100644
--- a/drivers/media/pci/ivtv/ivtv-udma.c

Privacy Policy