]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b870f83b42983d2d1cfed2d270745a1a45f668c
tree0e2028c7fa0e2ac20371b54f9bb91729a34d8c1c
parentae755df1839d67a9b1032715a80769b9e63619b4
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