Re: [PULL 16/63] PPC: Add asm helpers for BE 32bit load/store

2014-08-01 Thread Benjamin Herrenschmidt
On Fri, 2014-08-01 at 11:17 +0200, Alexander Graf wrote: > >From assembly code we might not only have to explicitly BE access 64bit > >values, > but sometimes also 32bit ones. Add helpers that allow for easy use of > lwzx/stwx > in their respective byte-reverse or native form. > > Signed-off-by:

[PULL 16/63] PPC: Add asm helpers for BE 32bit load/store

2014-08-01 Thread Alexander Graf
>From assembly code we might not only have to explicitly BE access 64bit values, but sometimes also 32bit ones. Add helpers that allow for easy use of lwzx/stwx in their respective byte-reverse or native form. Signed-off-by: Alexander Graf CC: Benjamin Herrenschmidt --- arch/powerpc/include/asm