]> git.baikalelectronics.ru Git - kernel.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)
commit01ded03015902833ea6858720b6a770e99f7edfe
tree6367b72665cab3d5d1e19d65665e55e216c59f87
parent69505702454c7a20e76181d9a301dc082cb515ee
Convert straggling drivers to new six-argument get_user_pages()

Commit 5425af3463b1 ("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 8d3e7d90b6b7: "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