summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/string.h')
-rw-r--r--arch/sparc/include/asm/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/string.h b/arch/sparc/include/asm/string.h
index 3d9cd082716b..001a17baf2d5 100644
--- a/arch/sparc/include/asm/string.h
+++ b/arch/sparc/include/asm/string.h
@@ -37,6 +37,10 @@ void *memmove(void *, const void *, __kernel_size_t);
#define __HAVE_ARCH_MEMCMP
int memcmp(const void *,const void *,__kernel_size_t);
+/* Now the str*() stuff... */
+#define __HAVE_ARCH_STRLEN
+__kernel_size_t strlen(const char *);
+
#define __HAVE_ARCH_STRNCMP
int strncmp(const char *, const char *, __kernel_size_t);