MIPS: lib: strnlen_user: Use macro to build the strnlen_user symbol
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 2 Jan 2014 16:19:49 +0000 (16:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:13 +0000 (23:09 +0100)
commitc48be43eb5248ff96dacda58f9e51ee8bfd058ac
treeecb47c1da760cfd105a1ae5fb9a6ac8862246f48
parent078dde5e21dba9f4186ebfc2aef06341fd20efb4
MIPS: lib: strnlen_user: Use macro to build the strnlen_user symbol

Build the __strnlen_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/strnlen_user.S