The reason for this is distro maintainer patches, not the changes in
mainline kernel...

http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_4.4.0-143.169.diff.gz

--- linux-4.4.0.orig/include/linux/mm.h
+++ linux-4.4.0/include/linux/mm.h
@@ -1193,19 +1221,17 @@
               struct vm_area_struct **vmas, int *nonblocking);
 long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
             unsigned long start, unsigned long nr_pages,
-            int write, int force, struct page **pages,
+            unsigned int gup_flags, struct page **pages,
             struct vm_area_struct **vmas);
 long get_user_pages_locked(struct task_struct *tsk, struct mm_struct *mm,
             unsigned long start, unsigned long nr_pages,
-            int write, int force, struct page **pages,
-            int *locked);
+            unsigned int gup_flags, struct page **pages, int *locked);
 long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm,
                    unsigned long start, unsigned long nr_pages,
-                   int write, int force, struct page **pages,
-                   unsigned int gup_flags);
+                   struct page **pages, unsigned int gup_flags);
 long get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm,
             unsigned long start, unsigned long nr_pages,
-            int write, int force, struct page **pages);
+            struct page **pages, unsigned int gup_flags);
 int get_user_pages_fast(unsigned long start, int nr_pages, int write,
             struct page **pages);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818049

Title:
  virtualbox dkms modules fail to build with linux 4.4.0-143.169 [error:
  too many arguments to function ‘get_user_pages’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1818049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to