[PATCH] Adjust arch/powerpc inline asms for recent gcc change
segher at kernel.crashing.org
Thu Jul 1 08:26:53 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 ?
> Oops, almost forgot about this. Are you guys shooting a new patch
> or do
> you want me to do it ?
It's really an independent fix. Just take Jakub's patch, I'll do one
on top of it?
More information about the Linuxppc-dev