MIPS: lib: strlen_user: Use macro to build the strlen_user symbol
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 2 Jan 2014 15:55:58 +0000 (15:55 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:13 +0000 (23:09 +0100)
commit5cc494972adbaeff08a1b7544acaa608c68cd527
treed8f0f46710258c6aa70a7b4102cd11686fba603e
parent4968db4b9c4528b097ab4e549c4e0d0420dd1efc
MIPS: lib: strlen_user: Use macro to build the strlen_user symbol

Build the __strlen_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/strlen_user.S