]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 22 Nov 2011 14:38:03 +0000 (14:38 +0000)
commitb71b45a315781788f59e4d63ec618aed2a6e0653
treec97434c0d9cd87c76b442cfbe916f9c104fac3bd
parent3cc81030d753edee9b4cedefe55d4f6ecc981351
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]