diff options
Diffstat (limited to 'arch/powerpc/lib/string.S')
| -rw-r--r-- | arch/powerpc/lib/string.S | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/lib/string.S b/arch/powerpc/lib/string.S index beabc68d9a1e..d13e07603519 100644 --- a/arch/powerpc/lib/string.S +++ b/arch/powerpc/lib/string.S @@ -11,6 +11,7 @@  #include <asm/processor.h>  #include <asm/errno.h>  #include <asm/ppc_asm.h> +#include <asm/export.h>  	.section __ex_table,"a"  	PPC_LONG_ALIGN @@ -36,6 +37,7 @@ _GLOBAL(strncpy)  2:	stbu	r0,1(r6)	/* clear it out if so */  	bdnz	2b  	blr +EXPORT_SYMBOL(strncpy)  _GLOBAL(strncmp)  	PPC_LCMPI 0,r5,0 @@ -53,6 +55,7 @@ _GLOBAL(strncmp)  	blr  2:	li	r3,0  	blr +EXPORT_SYMBOL(strncmp)  #ifdef CONFIG_PPC32  _GLOBAL(memcmp) @@ -68,6 +71,7 @@ _GLOBAL(memcmp)  	blr  2:	li	r3,0  	blr +EXPORT_SYMBOL(memcmp)  #endif  _GLOBAL(memchr) @@ -82,6 +86,7 @@ _GLOBAL(memchr)  	beqlr  2:	li	r3,0  	blr +EXPORT_SYMBOL(memchr)  #ifdef CONFIG_PPC32  _GLOBAL(__clear_user) @@ -125,4 +130,5 @@ _GLOBAL(__clear_user)  	PPC_LONG	1b,91b  	PPC_LONG	8b,92b  	.text +EXPORT_SYMBOL(__clear_user)  #endif  |