summaryrefslogtreecommitdiffstats
path: root/runtime/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/copy.c')
-rw-r--r--runtime/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/copy.c b/runtime/copy.c
index da27673c..ef3fd223 100644
--- a/runtime/copy.c
+++ b/runtime/copy.c
@@ -85,7 +85,7 @@ do { \
: "i"(-EFAULT), "0"(count), "1"(count), "3"(src), "4"(dst) \
: "memory"); \
} while (0)
-#elif defined (__powerpc64__) || defined (__ia64__)
+#elif defined (__powerpc64__) || defined (__ia64__) || defined (__arm__)
#define __stp_strncpy_from_user(dst,src,count,res) \
do { res = __strncpy_from_user(dst, src, count); } while(0)