MIPS: lib: strlen_user: Add EVA support
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 2 Jan 2014 16:04:38 +0000 (16:04 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:13 +0000 (23:09 +0100)
commit053970542f049d3e30dc4be6eb19e92ff1f70f00
tree63fcc75f9ae253079349d640b0fd7a9caf1c9060
parent5cc494972adbaeff08a1b7544acaa608c68cd527
MIPS: lib: strlen_user: Add EVA support

In non-EVA mode, strlen_user* aliases are used for the
strlen_kernel* symbols since the code is identical. In EVA
mode, new strlen_user* symbols are used which use 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/strlen_user.S