[PATCH 10/15] powerpc: fixes for instructions not using correct register naming
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Jun 9 08:42:42 EST 2012
On Fri, 2012-06-08 at 14:15 +0200, Andreas Schwab wrote:
> Michael Neuling <mikey at neuling.org> 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.
More information about the Linuxppc-dev
mailing list