patch-1.3.26 linux/include/asm-alpha/ptrace.h

Next file: linux/include/asm-alpha/unistd.h
Previous file: linux/fs/readdir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/include/asm-alpha/ptrace.h linux/include/asm-alpha/ptrace.h
@@ -64,6 +64,7 @@
 
 #ifdef __KERNEL__
 #define user_mode(regs) ((regs)->ps & 8)
+#define instruction_pointer(regs) ((regs)->pc)
 extern void show_regs(struct pt_regs *);
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this