]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: asm: uaccess: Add EVA support to copy_{in, to,from}_user
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 11 Dec 2013 16:47:10 +0000 (16:47 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:16 +0000 (23:09 +0100)
commitb4580666026b313f3f1bf949775573d7804442a4
tree64058c7570e90ffd1c59393a51fda5d6894771aa
parent75c9bdd0641b1f4b44e2a6c2c0a11ce0e95d84d6
MIPS: asm: uaccess: Add EVA support to copy_{in, to,from}_user

Use the EVA specific functions from memcpy.S to perform
userspace operations. When get_fs() == get_ds() the usual load/store
instructions are used because the destination address is located in
the kernel address space region. Otherwise, the EVA specifc load/store
instructions are used which will go through th TLB to perform the virtual
to physical translation for the userspace address.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/uaccess.h