On Monday 14 July 2008 11:06:47 pm Andreas Schwab wrote:
> Timur Tabi <[EMAIL PROTECTED]> writes:
> > Srinivasa D S wrote:
> >> +#define task_pt_regs(tsk) (tsk)->thread.regs
> >
> > Shouldn't this be:
> >
> > #define task_pt_regs
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-
On Monday 14 July 2008 04:02:41 am Paul Mackerras wrote:
> > Below attached patch defines this macro for powerpc arch. Please let
> > me know your comments on this.
> >
> > +#define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.regs)
>
> The cast is unnecessary since tsk->thread.regs is alr
Hi
task_pt_regs() macro defines pt_regs for the given task, this macro is
currently not defined for powerpc arch. We need this macro for
upcoming utrace features.
Below attached patch defines this macro for powerpc arch. Please let
me know your comments on this.
Signed-off-by: Srinivasa D