diff options
author | Robin Getz <robin.getz@analog.com> | 2010-05-03 17:23:20 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-22 18:19:09 (GMT) |
commit | 479ba6035862a9c08ce4351c7fff8926fde4ede5 (patch) | |
tree | 93a6419ffdfd38056f26d4362de450f79af044b3 /arch/blackfin/lib/strcpy.c | |
parent | 80fcdb959343ab9e0ee95c11b5ea47c44a2c3004 (diff) | |
download | linux-479ba6035862a9c08ce4351c7fff8926fde4ede5.tar.xz |
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>
Diffstat (limited to 'arch/blackfin/lib/strcpy.c')
-rw-r--r-- | arch/blackfin/lib/strcpy.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/blackfin/lib/strcpy.c b/arch/blackfin/lib/strcpy.c deleted file mode 100644 index 2a8836b..0000000 --- a/arch/blackfin/lib/strcpy.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Provide symbol in case str func is not inlined. - * - * Copyright (c) 2006-2007 Analog Devices Inc. - * - * Licensed under the GPL-2 or later. - */ - -#define strcpy __inline_strcpy -#include <asm/string.h> -#undef strcpy - -#include <linux/module.h> - -char *strcpy(char *dest, const char *src) -{ - return __inline_strcpy(dest, src); -} -EXPORT_SYMBOL(strcpy); |