patch-2.3.27 linux/include/asm-i386/processor.h
Next file: linux/include/asm-m68k/processor.h
Previous file: linux/include/asm-i386/kmap_types.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Nov 11 17:02:06 1999
- Orig file:
v2.3.26/linux/include/asm-i386/processor.h
- Orig date:
Wed Oct 27 16:34:12 1999
diff -u --recursive --new-file v2.3.26/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -406,6 +406,10 @@
return ((unsigned long *)t->esp)[3];
}
+unsigned long get_wchan(struct task_struct *p);
+#define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1019])
+#define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1022])
+
#define THREAD_SIZE (2*PAGE_SIZE)
#define alloc_task_struct() ((struct task_struct *) __get_free_pages(GFP_KERNEL,1))
#define free_task_struct(p) free_pages((unsigned long) (p), 1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)