MIPS: lib: strncpy_user: Add EVA support
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 2 Jan 2014 16:40:20 +0000 (16:40 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:14 +0000 (23:09 +0100)
commitb3c3025b2c5536c2b243f4947cffe58628758020
tree0e2028c7fa0e2ac20371b54f9bb91729a34d8c1c
parentcc59fe5b88bff926376019851aa88e96b6039eea
MIPS: lib: strncpy_user: Add EVA support

In non-EVA mode, strncpy_from_user* aliases are used for the
strncpy_from_kernel* symbols since the code is identical. In EVA
mode, new strcpy_from_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/strncpy_user.S