On Sat, 2009-02-07 at 00:22 -0800, David Miller wrote:
> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
> Date: Mon, 02 Feb 2009 11:10:24 +1100
> 
> > +/* has to be a macro because of include dependencies */
> > +static inline int is_exec_fault(void)
> > +{
> > +   return current->thread.regs && TRAP(current->thread.regs) == 0x400;
> > +}
> 
> Nice macro :-)

Hehe... was a macro in my original implementation and I turned it back
into an inline later on... missed the comment obviously :-)

I'll fix it, thanks for having a look.

Cheers,
Ben.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to