Re: [RFC] [PATCH] task_pt_regs for powerpc systems
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-07-15 09:17:25
On Tue, 2008-07-15 at 14:36 +0530, Srinivasa D S wrote:
On Monday 14 July 2008 02:36:57 pm Benjamin Herrenschmidt wrote:quoted
quoted
Signed-off-by: Srinivasa DS <redacted>Can you send a cleanup patch against powerpc.git instead ?Resending the patch against powerpc.git tree.
Nah, your initial patch is there already :-) I'm just asking for a cleanup one that removes the useless cast. Cheers, Ben.
quoted hunk ↗ jump to hunk
Signed-off-by: Srinivasa DS <redacted> --- 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)