patch-2.3.27 linux/include/asm-sparc/processor.h
Next file: linux/include/asm-sparc64/processor.h
Previous file: linux/include/asm-sh/processor.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Nov 8 14:28:34 1999
- Orig file:
v2.3.26/linux/include/asm-sparc/processor.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.26/linux/include/asm-sparc/processor.h linux/include/asm-sparc/processor.h
@@ -161,6 +161,11 @@
#define release_segments(mm) do { } while (0)
#define forget_segments() do { } while (0)
+unsigned long get_wchan(struct task_struct *p);
+
+#define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc)
+#define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
+
#ifdef __KERNEL__
#define THREAD_SIZE (2*PAGE_SIZE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)