]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Add fast get_user_pages
authorHillf Danton <dhillf@gmail.com>
Mon, 7 Nov 2011 12:06:17 +0000 (12:06 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 8 Nov 2011 12:36:06 +0000 (12:36 +0000)
commit7610c6f5ba375e6d5bc7fce4e7bb9fab58cfbc80
treeaabc457075fb523af33d10f0c607ae3dfa7904b0
parentd1ce4b6df45e893995bc8c6a6b80e2adcb1c7d41
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]