[RFC] [PATCH] task_pt_regs for powerpc systems

Srinivasa D S srinivasa at in.ibm.com
Tue Jul 15 19:21:00 EST 2008


On Monday 14 July 2008 11:06:47 pm Andreas Schwab wrote:
> Timur Tabi <timur at freescale.com> writes:
> > Srinivasa D S wrote:
> >> +#define task_pt_regs(tsk)	(tsk)->thread.regs
> >
> > Shouldn't this be:
> >
> > 	#define task_pt_regs(tsk)	((tsk)->thread.regs)
> >
> > just to be safe?
>
> Both -> and . have already highest precedence as postfix operators.
>

Thanks for the comments, For safer side I have used "()"  and sent the updated 
patch.

Thanks
 Srinivasa DS




More information about the Linuxppc-dev mailing list