aboutsummaryrefslogtreecommitdiffstats
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 000000000000..947bcfe3f3bb
--- /dev/null
+++ b/arch/blackfin/lib/strncmp.c
@@ -0,0 +1,11 @@
1#include <linux/types.h>
2
3#define strncmp __inline_strncmp
4#include <asm/string.h>
5#undef strncmp
6
7int strncmp(const char *cs, const char *ct, size_t count)
8{
9 return __inline_strncmp(cs, ct, count);
10}
11