aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/mips_ksyms.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-01-07 11:20:22 -0500
committerRalf Baechle <ralf@linux-mips.org>2014-03-26 18:09:14 -0400
commitcd26cb41ece49ce0dd0f43d88f4d3386ca42a825 (patch)
tree8b19eb812d21611ef0e458dd59ef3159d6fcaec8 /arch/mips/kernel/mips_ksyms.c
parentcf62a8b8134dd37ab365bfe8b972a7ebb1100110 (diff)
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>
Diffstat (limited to 'arch/mips/kernel/mips_ksyms.c')
-rw-r--r--arch/mips/kernel/mips_ksyms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c
index 675bd0578d3f..13e60f676b8b 100644
--- a/arch/mips/kernel/mips_ksyms.c
+++ b/arch/mips/kernel/mips_ksyms.c
@@ -51,6 +51,12 @@ EXPORT_SYMBOL(copy_page);
51 */ 51 */
52EXPORT_SYMBOL(__copy_user); 52EXPORT_SYMBOL(__copy_user);
53EXPORT_SYMBOL(__copy_user_inatomic); 53EXPORT_SYMBOL(__copy_user_inatomic);
54#ifdef CONFIG_EVA
55EXPORT_SYMBOL(__copy_from_user_eva);
56EXPORT_SYMBOL(__copy_in_user_eva);
57EXPORT_SYMBOL(__copy_to_user_eva);
58EXPORT_SYMBOL(__copy_user_inatomic_eva);
59#endif
54EXPORT_SYMBOL(__bzero); 60EXPORT_SYMBOL(__bzero);
55EXPORT_SYMBOL(__strncpy_from_kernel_nocheck_asm); 61EXPORT_SYMBOL(__strncpy_from_kernel_nocheck_asm);
56EXPORT_SYMBOL(__strncpy_from_kernel_asm); 62EXPORT_SYMBOL(__strncpy_from_kernel_asm);