patch-2.3.27 linux/include/asm-ppc/processor.h

Next file: linux/include/asm-sh/processor.h
Previous file: linux/include/asm-ppc/fcntl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/include/asm-ppc/processor.h linux/include/asm-ppc/processor.h
@@ -316,6 +316,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.regs->nip)
+#define KSTK_ESP(tsk)  ((tsk)->thread.regs->gpr[1])
+
 /*
  * NOTE! The task struct and the stack go together
  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)