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