patch-1.3.37 linux/include/asm-alpha/processor.h
Next file: linux/include/asm-alpha/system.h
Previous file: linux/include/asm-alpha/lca.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Oct 24 16:19:41 1995
- Orig file:
v1.3.36/linux/include/asm-alpha/processor.h
- Orig date:
Thu Sep 7 17:17:18 1995
diff -u --recursive --new-file v1.3.36/linux/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -49,10 +49,12 @@
#include <asm/ptrace.h>
/*
- * Return saved PC of a blocked thread. This assumes the frame pointer
- * is the 6th saved long on the kernel stack and that the saved return
- * address is the first long in the frame. This all holds provided the
- * thread blocked through a call to schedule().
+ * Return saved PC of a blocked thread. This assumes the frame
+ * pointer is the 6th saved long on the kernel stack and that the
+ * saved return address is the first long in the frame. This all
+ * holds provided the thread blocked through a call to schedule() ($15
+ * is the frame pointer in schedule() and $15 is saved at offset 48 by
+ * entry.S:do_switch_stack).
*/
extern inline unsigned long thread_saved_pc(struct thread_struct *t)
{
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this