Mercurial > hg > truffle
diff agent/src/os/linux/libproc.h @ 17940:7f77d17d0f13
8042059: Various fixes to linux/sparc
Reviewed-by: twisti, kvn
author | mikael |
---|---|
date | Tue, 29 Apr 2014 22:05:10 -0700 |
parents | a9becfeecd1b |
children | a07a3a29df67 |
line wrap: on
line diff
--- a/agent/src/os/linux/libproc.h Tue Apr 29 22:04:09 2014 -0700 +++ b/agent/src/os/linux/libproc.h Tue Apr 29 22:05:10 2014 -0700 @@ -34,19 +34,7 @@ #include "libproc_md.h" #endif -#if defined(sparc) || defined(sparcv9) -/* - If _LP64 is defined ptrace.h should be taken from /usr/include/asm-sparc64 - otherwise it should be from /usr/include/asm-sparc - These two files define pt_regs structure differently -*/ -#ifdef _LP64 -#include "asm-sparc64/ptrace.h" -#else -#include "asm-sparc/ptrace.h" -#endif - -#endif //sparc or sparcv9 +#include <linux/ptrace.h> /************************************************************************************