On Sun, Apr 11, 2010 at 11:06:13PM -0700, David VomLehn wrote:Definitely, thanks!
The save_ptregs() function has not been tested or even built. I will needThe above include needs fixing.
help to complete this.
Signed-off-by: David VomLehn <dvomlehn@xxxxxxxxx>
---
arch/alpha/include/asm/ptrace.h | 124 +++++++++++++++++++++++++++++++++++++++
1 files changed, 124 insertions(+), 0 deletions(-)
diff --git a/arch/alpha/include/asm/ptrace.h b/arch/alpha/include/asm/ptrace.h
index 65cf3e2..952d177 100644
--- a/arch/alpha/include/asm/ptrace.h
+++ b/arch/alpha/include/asm/ptrace.h
@@ -79,6 +79,130 @@ extern void show_regs(struct pt_regs *);
#define force_successful_syscall_return() (task_pt_regs(current)->r0 = 0)
+/* Macros for saving the contents of registers and for the output constraint
+ * for those registers */
+#include "/home/vomlehn/git/kernel.org/linux/ptreg.h"
Sam