summaryrefslogtreecommitdiffstats
path: root/runtime/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/copy.c')
-rw-r--r--runtime/copy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/copy.c b/runtime/copy.c
index f4d906b3..4d716861 100644
--- a/runtime/copy.c
+++ b/runtime/copy.c
@@ -88,6 +88,11 @@ do { \
#elif defined (__powerpc64__) || defined (__ia64__)
#define __stp_strncpy_from_user(dst,src,count,res) \
do { res = __strncpy_from_user(dst, src, count); } while(0)
+
+#elif defined (__s390__) || defined (__s390x__)
+#define __stp_strncpy_from_user(dst,src,count,res) \
+ do { res = strncpy_from_user(dst, src, count); } while(0)
+
#endif
/** Copy a NULL-terminated string from userspace.