]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vc04_services: Convert get_user_pages*() --> pin_user_pages*()
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 2 Jun 2020 18:54:17 +0000 (00:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2020 07:53:21 +0000 (09:53 +0200)
commitc4f1f7a00dcca630f5787b21e52c7c88a5f52653
treebce4a1d564014df2559335a3cf7d63c95f61debd
parent68835ea6e77591c90a044f002b509e05b0e0082c
staging: vc04_services: Convert get_user_pages*() --> pin_user_pages*()

In 2019, we introduced pin_user_pages*() and now we are converting
get_user_pages*() to the new API as appropriate. [1] & [2] could
be referred for more information.

[1] Documentation/core-api/pin_user_pages.rst

[2] "Explicit pinning of user-space pages":
        https://lwn.net/Articles/807108/

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Link: https://lore.kernel.org/r/1591124057-27696-1-git-send-email-jrdr.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c