summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/ptrace.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /include/asm-alpha/ptrace.h
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
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