8042059: Various fixes to linux/sparc

Reviewed-by: twisti, kvn
This commit is contained in:
Mikael Vidstedt 2014-04-29 22:05:10 -07:00
parent e88c91e4c3
commit c781bb874f
5 changed files with 29 additions and 33 deletions

View file

@ -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>
/************************************************************************************