Updated micscif/miscif_api.c for new get_user_pages() function.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 2 May 2021 04:30:41 +0000 (21:30 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 2 May 2021 04:30:41 +0000 (21:30 -0700)
commit1c7f6af676cdfbeadcff41ac6b335655050f0800
tree02deedb25a84361787c809e46948592521649ad0
parent267218916bdd91dea1e25bb8fc1cf887e3083642
Updated micscif/miscif_api.c for new get_user_pages() function.

At some point the function prototype changed from this:

    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,
                struct vm_area_struct **vmas);

into this:

    long get_user_pages(unsigned long start, unsigned long nr_pages,
                    unsigned int gup_flags, struct page **pages,
                    struct vm_area_struct **vmas);

With the individual 'write' and 'force' flags transforming into gup_flags per
this patch:

    https://patchwork.kernel.org/project/linux-arm-kernel/patch/20161013002020.3062-7-lstoakes@gmail.com/
micscif/micscif_api.c