On Fri, Jun 25, 2010 at 01:08:23PM +0200, Segher Boessenkool wrote:
> > -           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] ?

Yeah.

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

Reply via email to