MIPS: Add fast get_user_pages
authorHillf Danton <dhillf@gmail.com>
Tue, 22 Nov 2011 14:38:03 +0000 (14:38 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:03:45 +0000 (22:03 +0000)
commitb1c10bea620f79109b5cc9935267bea4f6f29ac6
tree2b529b61862b6f5b3834a174c246a18b0255f28a
parent5639bc4a64786c94eba3d2ba6a4ff4b290da1fb1
MIPS: Add fast get_user_pages

Gup is used in a few cases, say futex.

This work is derived from the x86 version, and operations of pte and pmd are
adapted to the defines of MIPS in straight forward manner.

[ralf@linux-mips.org: Fixed up reject in arch/mips/mm/Makefile due to
whitespace formatting differences.  Fixed build error in gup.c due to
conflicting changes elsewhere in the kernel.]

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2859/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/Makefile
arch/mips/mm/gup.c [new file with mode: 0644]