[PATCH] No arch-specific strpbrk implementations
While cleaning up parisc_ksyms.c earlier, I noticed that strpbrk wasn't being exported from lib/string.c. Investigating further, I noticed a changeset that removed its export and added it to _ksyms.c on a few more architectures. The justification was that "other arches do it." I think this is wrong, since no architecture currently defines __HAVE_ARCH_STRPBRK, there's no reason for any of them to be exporting it themselves. Therefore, consolidate the export to lib/string.c. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
c80d79d746
commit
894b5779ce
@@ -276,7 +276,6 @@ EXPORT_SYMBOL(__prom_getsibling);
|
||||
EXPORT_SYMBOL(strlen);
|
||||
EXPORT_SYMBOL(__strlen_user);
|
||||
EXPORT_SYMBOL(__strnlen_user);
|
||||
EXPORT_SYMBOL(strpbrk);
|
||||
|
||||
#ifdef CONFIG_SOLARIS_EMUL_MODULE
|
||||
EXPORT_SYMBOL(linux_sparc_syscall);
|
||||
|
Reference in New Issue
Block a user