On Monday 14 July 2008 02:36:57 pm Benjamin Herrenschmidt wrote: > > Signed-off-by: Srinivasa DS <[EMAIL PROTECTED]> > > Can you send a cleanup patch against powerpc.git instead ? >
Resending the patch against powerpc.git tree. Signed-off-by: Srinivasa DS <[EMAIL PROTECTED]> --- include/asm-powerpc/processor.h | 2 ++ 1 file changed, 2 insertions(+) Index: powerpc.git/include/asm-powerpc/processor.h =================================================================== --- powerpc.git.orig/include/asm-powerpc/processor.h +++ powerpc.git/include/asm-powerpc/processor.h @@ -234,6 +234,8 @@ struct thread_struct { #define thread_saved_pc(tsk) \ ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0) +#define task_pt_regs(tsk) ((tsk)->thread.regs) + unsigned long get_wchan(struct task_struct *p); #define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev