From 79e80fedc4bcac4cd1d5a684537f20a4331efd4e Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 30 May 2007 14:33:55 +0000 Subject: 2007-05-30 Martin Hunt Patch from Quentin Barnes. * arith.c: Add arm support for 64-bit division. * copy.c: Enable arm support. * loc2c-runtime.h: Ditto. * regs.[ch]: Ditto. * stack.c: Include stack-arm.c. * stack-arm.c: New file. * time.c (_stp_gettimeofday_ns): hack for arm. See PR 4569. --- runtime/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/copy.c') 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) -- cgit