From 24cb8c3b07c5fed086555b54f9f753bb78df6837 Mon Sep 17 00:00:00 2001 From: dwilder Date: Thu, 19 Oct 2006 18:37:15 +0000 Subject: Adding s390x support --- runtime/copy.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/copy.c') 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. -- cgit