Subject: Re: [PATCH 10/15] powerpc: fixes for instructions not using correct register naming

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sat, 09 Jun 2012 08:42:42 +1000

On Fri, 2012-06-08 at 14:15 +0200, Andreas Schwab wrote:
> Michael Neuling <[email-masked]> writes:
> 
> >  	/* Invalidate all TLBs */
> > -	PPC_TLBILX_ALL(0,0)
> > +	PPC_TLBILX_ALL(R0,R0)
> 
> The first argument is (RA|0), so 0 is zero, not r0.

The macro system we use cannot do that (it will prefix with REG_), since
both arguments are registers we must use R0 in this case.

Cheers,
Ben.