]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6cad3029253571d41e2a8a833d62e62d73664113
tree93a6419ffdfd38056f26d4362de450f79af044b3
parent26e96429ef613105cdc4071f022f27e1512a2222
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]