summaryrefslogtreecommitdiff
path: root/arch/tile/lib/strlen_32.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-10-14 16:39:42 -0400
committerChris Metcalf <cmetcalf@tilera.com>2010-10-15 15:38:54 -0400
commit29507663dfa2590647a1ef66f3652a0cac033eca (patch)
tree80509f81ce8e6b6846f78e62cb0cbf1ac03321be /arch/tile/lib/strlen_32.c
parent233325b94999d4bb8df227bb39904a57509e4995 (diff)
arch/tile: minor whitespace/naming changes for string support files
Our internal process shares memcpy, memset, etc., with libc, and we did some minor tweaking as part of moving from uclibc to glibc, which is now reflected in the kernel versions of these files. There are no semantic changes in this commit, just whitespace (memcpy_32.S now properly uses tabs), naming (memmove.c instead of memmove_32.c, since TILE-Gx shares the file with TILEPro), and a couple of other minor tweaks. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/lib/strlen_32.c')
-rw-r--r--arch/tile/lib/strlen_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/tile/lib/strlen_32.c b/arch/tile/lib/strlen_32.c
index f26f88e11e4a..4974292a5534 100644
--- a/arch/tile/lib/strlen_32.c
+++ b/arch/tile/lib/strlen_32.c
@@ -16,6 +16,8 @@
#include <linux/string.h>
#include <linux/module.h>
+#undef strlen
+
size_t strlen(const char *s)
{
/* Get an aligned pointer. */