Mercurial > hg > truffle
diff agent/src/os/linux/libproc.h @ 18041:52b4284cb496
Merge with jdk8u20-b26
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Oct 2014 16:02:50 +0200 |
parents | 89152779163c a07a3a29df67 |
children |
line wrap: on
line diff
--- a/agent/src/os/linux/libproc.h Thu Oct 16 10:21:29 2014 +0200 +++ b/agent/src/os/linux/libproc.h Wed Oct 15 16:02:50 2014 +0200 @@ -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 <sys/ptrace.h> /************************************************************************************ @@ -80,7 +68,7 @@ *************************************************************************************/ -#if defined(sparc) || defined(sparcv9) +#if defined(sparc) || defined(sparcv9) || defined(ppc64) #define user_regs_struct pt_regs #endif