patch-2.3.27 linux/include/asm-sparc64/processor.h
Next file: linux/include/linux/acpi.h
Previous file: linux/include/asm-sparc/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-sparc64/processor.h
- Orig date:
Wed Aug 4 15:39:46 1999
diff -u --recursive --new-file v2.3.26/linux/include/asm-sparc64/processor.h linux/include/asm-sparc64/processor.h
@@ -209,6 +209,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->tpc)
+#define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
+
#ifdef __KERNEL__
#define THREAD_SIZE (2*PAGE_SIZE)
/* Allocation and freeing of task_struct and kernel stack. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)