]> git.karo-electronics.de Git - linux-beck.git/commit
Convert straggling drivers to new six-argument get_user_pages()
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Apr 2016 23:35:05 +0000 (18:35 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Apr 2016 23:35:05 +0000 (18:35 -0500)
commitcb107161df3c52e58033554dcb40065964350f67
tree6367b72665cab3d5d1e19d65665e55e216c59f87
parent264800b5ecc7be49b2c6027738091ff3385e0cae
Convert straggling drivers to new six-argument get_user_pages()

Commit d4edcf0d5695 ("mm/gup: Switch all callers of get_user_pages() to
not pass tsk/mm") switched get_user_pages() callers to the simpler model
where they no longer pass in the thread and mm pointer.  But since then
we've merged changes to a few drivers that re-introduce use of the old
interface.  Let's fix them up.

They continued to work fine (thanks to the truly disgusting macros
introduced in commit cde70140fed8: "mm/gup: Overload get_user_pages()
functions"), but cause unnecessary build noise.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/goldfish/goldfish_pipe.c
drivers/rapidio/devices/rio_mport_cdev.c