ppc: move exports to definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user