]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: lib: strncpy_user: Use macro to build the strncpy_from_user symbol
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 2 Jan 2014 16:36:49 +0000 (16:36 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:14 +0000 (23:09 +0100)
commitae755df1839d67a9b1032715a80769b9e63619b4
tree772641ee2d5e6c3dd4fc116a7dd1586da694e60d
parent9c8ba14370cf3ba7b66e4b0097f1f22701033385
MIPS: lib: strncpy_user: Use macro to build the strncpy_from_user symbol

Build the __strncpy_from_user symbol using a macro. In EVA mode we will
need to use similar code to do the userspace load operations so
it is better if we use a macro to avoid code duplications.

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