]> 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)
commit35441e6cc65239b81eee4cb0e53918f3a0322adf
tree6367b72665cab3d5d1e19d65665e55e216c59f87
parent4a1099caf966d959588acedb1841000634e1ee58
Convert straggling drivers to new six-argument get_user_pages()

Commit ff3979cbac00 ("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 dcb8304ed1f3: "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