[PATCH] No arch-specific strpbrk implementations
authorKyle McMartin <kyle@parisc-linux.org>
Tue, 11 Apr 2006 05:53:56 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:40 +0000 (06:18 -0700)
commit894b5779ceeabdce139068310e58bcf51ed9bb22
treea5235a777d109a22a3867a8e31e2dcf40fb21bc0
parentc80d79d746cc48bd94b0ce4f6d4f3c90cd403aaf
[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>
20 files changed:
arch/alpha/kernel/alpha_ksyms.c
arch/arm/kernel/armksyms.c
arch/arm26/kernel/armksyms.c
arch/cris/kernel/crisksyms.c
arch/frv/kernel/frv_ksyms.c
arch/h8300/kernel/h8300_ksyms.c
arch/i386/kernel/i386_ksyms.c
arch/m32r/kernel/m32r_ksyms.c
arch/m68k/kernel/m68k_ksyms.c
arch/m68knommu/kernel/m68k_ksyms.c
arch/mips/kernel/mips_ksyms.c
arch/parisc/kernel/parisc_ksyms.c
arch/sh/kernel/sh_ksyms.c
arch/sh64/kernel/sh_ksyms.c
arch/sparc/kernel/sparc_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
arch/v850/kernel/v850_ksyms.c
arch/x86_64/kernel/x8664_ksyms.c
arch/xtensa/kernel/xtensa_ksyms.c
lib/string.c