diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-11-07 12:14:14 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-03 16:34:50 +0100 |
commit | d6cb671589757ec3d20e5e0886505cdad327b1b3 (patch) | |
tree | fadc4d7f3bd71b2b2390113bdfb3a214e2a349a5 /arch/mips/lib/strlen_user.S | |
parent | MIPS: Export csum functions alongside their definitions (diff) | |
download | linux-d6cb671589757ec3d20e5e0886505cdad327b1b3.tar.xz linux-d6cb671589757ec3d20e5e0886505cdad327b1b3.zip |
MIPS: Export string functions alongside their definitions
Now that EXPORT_SYMBOL can be used from assembly source, move the
EXPORT_SYMBOL invocations for the strlen*, strnlen* & strncpy* functions
to be alongside their definitions.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14513/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lib/strlen_user.S')
-rw-r--r-- | arch/mips/lib/strlen_user.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lib/strlen_user.S b/arch/mips/lib/strlen_user.S index 929bbacd697e..c9cb7e6c59a6 100644 --- a/arch/mips/lib/strlen_user.S +++ b/arch/mips/lib/strlen_user.S @@ -9,6 +9,7 @@ */ #include <asm/asm.h> #include <asm/asm-offsets.h> +#include <asm/export.h> #include <asm/regdef.h> #define EX(insn,reg,addr,handler) \ @@ -24,6 +25,7 @@ */ .macro __BUILD_STRLEN_ASM func LEAF(__strlen_\func\()_asm) +EXPORT_SYMBOL(__strlen_\func\()_asm) LONG_L v0, TI_ADDR_LIMIT($28) # pointer ok? and v0, a0 bnez v0, .Lfault\@ |