summaryrefslogtreecommitdiffstats
path: root/arch/tile/lib/strlen_32.c
diff options
context:
space:
mode:
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. */
OpenPOWER on IntegriCloud