summaryrefslogtreecommitdiffstats
path: root/runtime/copy.c
diff options
context:
space:
mode:
authordwilder <dwilder>2006-10-19 18:37:15 +0000
committerdwilder <dwilder>2006-10-19 18:37:15 +0000
commit24cb8c3b07c5fed086555b54f9f753bb78df6837 (patch)
tree9cdfcd666b46b16944ad23f41686cf7bfebfaafb /runtime/copy.c
parent0b951e7c1aa8653655d63bda882d392f0c2216c8 (diff)
downloadsystemtap-steved-24cb8c3b07c5fed086555b54f9f753bb78df6837.tar.gz
systemtap-steved-24cb8c3b07c5fed086555b54f9f753bb78df6837.tar.xz
systemtap-steved-24cb8c3b07c5fed086555b54f9f753bb78df6837.zip
Adding s390x support
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.