-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc: Move lib symbol exports into arch/powerpc/lib/ppc_ksyms.c
Move the lib symbol exports closer to their function definitions Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
- Loading branch information
Anton Blanchard
authored and
Michael Ellerman
committed
Sep 25, 2014
1 parent
5889baf
commit 7b20a95
Showing
3 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#include <linux/string.h> | ||
#include <linux/uaccess.h> | ||
#include <linux/bitops.h> | ||
#include <net/checksum.h> | ||
|
||
EXPORT_SYMBOL(memcpy); | ||
EXPORT_SYMBOL(memset); | ||
EXPORT_SYMBOL(memmove); | ||
EXPORT_SYMBOL(memcmp); | ||
EXPORT_SYMBOL(memchr); | ||
#ifdef CONFIG_PPC32 | ||
EXPORT_SYMBOL(cacheable_memcpy); | ||
EXPORT_SYMBOL(cacheable_memzero); | ||
#endif | ||
|
||
EXPORT_SYMBOL(strcpy); | ||
EXPORT_SYMBOL(strncpy); | ||
EXPORT_SYMBOL(strcat); | ||
EXPORT_SYMBOL(strlen); | ||
EXPORT_SYMBOL(strcmp); | ||
EXPORT_SYMBOL(strncmp); | ||
|
||
#ifndef CONFIG_GENERIC_CSUM | ||
EXPORT_SYMBOL(csum_partial); | ||
EXPORT_SYMBOL(csum_partial_copy_generic); | ||
EXPORT_SYMBOL(ip_fast_csum); | ||
EXPORT_SYMBOL(csum_tcpudp_magic); | ||
#endif | ||
|
||
EXPORT_SYMBOL(__copy_tofrom_user); | ||
EXPORT_SYMBOL(__clear_user); | ||
EXPORT_SYMBOL(copy_page); | ||
|
||
#ifdef CONFIG_PPC64 | ||
EXPORT_SYMBOL(__arch_hweight8); | ||
EXPORT_SYMBOL(__arch_hweight16); | ||
EXPORT_SYMBOL(__arch_hweight32); | ||
EXPORT_SYMBOL(__arch_hweight64); | ||
#endif |