summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/lib/strncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/lib/strncmp.c')
-rw-r--r--arch/blackfin/lib/strncmp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/lib/strncmp.c b/arch/blackfin/lib/strncmp.c
new file mode 100644
index 00000000000..947bcfe3f3b
--- /dev/null
+++ b/arch/blackfin/lib/strncmp.c
@@ -0,0 +1,11 @@
+#include <linux/types.h>
+
+#define strncmp __inline_strncmp
+#include <asm/string.h>
+#undef strncmp
+
+int strncmp(const char *cs, const char *ct, size_t count)
+{
+ return __inline_strncmp(cs, ct, count);
+}
+