aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-09 12:12:54 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-09 12:12:54 +0100
commit069192365e2cec8b47f6e6701fb2aa50f763c602 (patch)
tree2b58640dda661e85aa43b2c15cadc95936455ebe
parent2abdec742f205cd0d01e957d72de3fe6d2df9601 (diff)
Update backports/v4.4_user_pages_flag.patch
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--backports/v4.4_user_pages_flag.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/backports/v4.4_user_pages_flag.patch b/backports/v4.4_user_pages_flag.patch
index b605285..6a873ea 100644
--- a/backports/v4.4_user_pages_flag.patch
+++ b/backports/v4.4_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 6c029616977f..6e9e05153f4e 100644
---- a/drivers/media/common/videobuf2/videobuf2-memops.c
-+++ b/drivers/media/common/videobuf2/videobuf2-memops.c
-@@ -40,6 +40,7 @@ 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;
-@@ -47,7 +48,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, true, true, vec);
-+ ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, 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 16f4a9364747..b823e0a768d8 100644
--- a/drivers/media/pci/ivtv/ivtv-udma.c

Privacy Policy