MIPS: lib: memcpy: Add EVA support
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 7 Jan 2014 16:20:22 +0000 (16:20 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:14 +0000 (23:09 +0100)
commitcd26cb41ece49ce0dd0f43d88f4d3386ca42a825
tree8b19eb812d21611ef0e458dd59ef3159d6fcaec8
parentcf62a8b8134dd37ab365bfe8b972a7ebb1100110
MIPS: lib: memcpy: Add EVA support

Add copy_{to,from,in}_user when the CPU operates in EVA mode.
This is necessary so the EVA specific instructions can be used
to perform the virtual to physical translation for user space
addresses. We will use the non-EVA functions to read from kernel
if needed.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/mips_ksyms.c
arch/mips/lib/memcpy.S