aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/lib/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/lib/strcmp.c')
-rw-r--r--arch/blackfin/lib/strcmp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/lib/strcmp.c b/arch/blackfin/lib/strcmp.c
new file mode 100644
index 00000000000..2ad47c4254b
--- /dev/null
+++ b/arch/blackfin/lib/strcmp.c
@@ -0,0 +1,11 @@
+#include <linux/types.h>
+
+#define strcmp __inline_strcmp
+#include <asm/string.h>
+#undef strcmp
+
+int strcmp(const char *dest, const char *src)
+{
+ return __inline_strcmp(dest, src);
+}
+