[PATCH] Adjust arch/powerpc inline asms for recent gcc change
Segher Boessenkool
segher at kernel.crashing.org
Fri Jun 25 21:08:23 EST 2010
> - stw%U0%X0 %L2,%1"
> - : "=m" (*ptep), "=m" (*((unsigned char *)ptep+4))
> + stw%U1%X1 %L2,%1"
> + : "=m<>" (*ptep), "=m<>" (*((unsigned char *)ptep+4))
> : "r" (pte) : "memory");
This still isn't correct -- the constraint says that a byte
is written, but the insn changes a word. Probably should just
be ptep[1] ?
Segher
More information about the Linuxppc-dev
mailing list