Blackfin: move string functions to normal lib/ assembly
authorRobin Getz <robin.getz@analog.com>
Mon, 3 May 2010 17:23:20 +0000 (17:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 May 2010 18:19:09 +0000 (14:19 -0400)
commit479ba6035862a9c08ce4351c7fff8926fde4ede5
tree93a6419ffdfd38056f26d4362de450f79af044b3
parent80fcdb959343ab9e0ee95c11b5ea47c44a2c3004
Blackfin: move string functions to normal lib/ assembly

Since 'extern inline' doesn't work correctly in the context of the Linux
kernel (too many overriding defines), move the string functions to normal
lib/ assembly files (like the existing mem funcs).  This avoids the forced
inline all over the kernel and allows us to place them constantly in L1.

This also avoids some module failures when gcc inserts calls to string
functions but the kernel build system doesn't fully consult the library
archives.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/Kconfig
arch/blackfin/include/asm/string.h
arch/blackfin/kernel/bfin_ksyms.c
arch/blackfin/lib/strcmp.S [new file with mode: 0644]
arch/blackfin/lib/strcmp.c [deleted file]
arch/blackfin/lib/strcpy.S [new file with mode: 0644]
arch/blackfin/lib/strcpy.c [deleted file]
arch/blackfin/lib/strncmp.S [new file with mode: 0644]
arch/blackfin/lib/strncmp.c [deleted file]
arch/blackfin/lib/strncpy.S [new file with mode: 0644]
arch/blackfin/lib/strncpy.c [deleted file]