diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-01-07 11:20:22 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 18:09:14 -0400 |
commit | cd26cb41ece49ce0dd0f43d88f4d3386ca42a825 (patch) | |
tree | 8b19eb812d21611ef0e458dd59ef3159d6fcaec8 /arch/mips/kernel/mips_ksyms.c | |
parent | cf62a8b8134dd37ab365bfe8b972a7ebb1100110 (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.c | 6 |
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 | */ |
52 | EXPORT_SYMBOL(__copy_user); | 52 | EXPORT_SYMBOL(__copy_user); |
53 | EXPORT_SYMBOL(__copy_user_inatomic); | 53 | EXPORT_SYMBOL(__copy_user_inatomic); |
54 | #ifdef CONFIG_EVA | ||
55 | EXPORT_SYMBOL(__copy_from_user_eva); | ||
56 | EXPORT_SYMBOL(__copy_in_user_eva); | ||
57 | EXPORT_SYMBOL(__copy_to_user_eva); | ||
58 | EXPORT_SYMBOL(__copy_user_inatomic_eva); | ||
59 | #endif | ||
54 | EXPORT_SYMBOL(__bzero); | 60 | EXPORT_SYMBOL(__bzero); |
55 | EXPORT_SYMBOL(__strncpy_from_kernel_nocheck_asm); | 61 | EXPORT_SYMBOL(__strncpy_from_kernel_nocheck_asm); |
56 | EXPORT_SYMBOL(__strncpy_from_kernel_asm); | 62 | EXPORT_SYMBOL(__strncpy_from_kernel_asm); |