]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Add fast get_user_pages
authorHillf Danton <dhillf@gmail.com>
Wed, 16 Nov 2011 01:33:03 +0000 (01:33 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 16 Nov 2011 01:33:03 +0000 (01:33 +0000)
commit76aa4a949a9ea8c7d6a116f602d2e095cfabc833
treed36069bf5da3677c78c11c165c365a603f8cafdb
parent1481855096aeebb5f9e0e5c34430f2b49d194e92
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]