summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/ptrace.h')
-rw-r--r--include/asm-alpha/ptrace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-alpha/ptrace.h b/include/asm-alpha/ptrace.h
index 7bda114cd..8f7d643fc 100644
--- a/include/asm-alpha/ptrace.h
+++ b/include/asm-alpha/ptrace.h
@@ -59,11 +59,12 @@ struct switch_stack {
unsigned long r14;
unsigned long r15;
unsigned long r26;
- unsigned long fp[32];
+ unsigned long fp[32]; /* fp[31] is fpcr */
};
#ifdef __KERNEL__
#define user_mode(regs) ((regs)->ps & 8)
+#define instruction_pointer(regs) ((regs)->pc)
extern void show_regs(struct pt_regs *);
#endif