MIPS: lib: strnlen_user: Add EVA support
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 9 Dec 2013 15:28:10 +0000 (15:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:13 +0000 (23:09 +0100)
commit4968db4b9c4528b097ab4e549c4e0d0420dd1efc
treeeb6e7f405bb9abab9e1c75ca2cfd0b8648ad5fb9
parentc48be43eb5248ff96dacda58f9e51ee8bfd058ac
MIPS: lib: strnlen_user: Add EVA support

In non-EVA mode, a strlen_user* alias is used for the
strlen_kernel* symbols since the code is identical. In EVA
mode, a new strlen_user* symbol is used which uses the EVA
specific instructions to load values from userspace.

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