diff options
author | askeshav <askeshav> | 2005-10-28 22:49:28 +0000 |
---|---|---|
committer | askeshav <askeshav> | 2005-10-28 22:49:28 +0000 |
commit | 1c9db4fdf66fe88a731319b99942872fa567d742 (patch) | |
tree | 33a86507a7fcf9a9c771cf9a1801c8f81c566cf8 /runtime/copy.c | |
parent | 063b69fe3f1109ec81b5e4c1f1333a442ccb3734 (diff) | |
download | systemtap-steved-1c9db4fdf66fe88a731319b99942872fa567d742.tar.gz systemtap-steved-1c9db4fdf66fe88a731319b99942872fa567d742.tar.xz systemtap-steved-1c9db4fdf66fe88a731319b99942872fa567d742.zip |
IA64 Runtime support patches. With this in place
Systemtap should now be able to build on Ia64.
Includes supports for - function probes, return probes,
function parameter access and dumping stack backtrace.
Added by Anil S Keshavamurthy <Anil.s.keshavamurthy@intel.com>
Diffstat (limited to 'runtime/copy.c')
-rw-r--r-- | runtime/copy.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/runtime/copy.c b/runtime/copy.c index 25f4d695..86c8f65f 100644 --- a/runtime/copy.c +++ b/runtime/copy.c @@ -1,3 +1,13 @@ +/* Copy from user space functions + * Copyright (C) 2005 Red Hat Inc. + * Copyright (C) 2005 Intel Corporation. + * + * This file is part of systemtap, and is free software. You can + * redistribute it and/or modify it under the terms of the GNU General + * Public License (GPL); either version 2, or (at your option) any + * later version. + */ + #ifndef _COPY_C_ /* -*- linux-c -*- */ #define _COPY_C_ @@ -74,7 +84,7 @@ do { \ : "i"(-EFAULT), "0"(count), "1"(count), "3"(src), "4"(dst) \ : "memory"); \ } while (0) -#elif defined (__powerpc64__) +#elif defined (__powerpc64__) || defined (__ia64__) #define __stp_strncpy_from_user(dst,src,count,res) \ do { res = __strncpy_from_user(dst, src, count); } while(0) #endif |