[V4] powerpc: Implement {cmp}xchg for u8 and u16
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Nov 25 11:04:10 AEDT 2016
On Wed, 2016-04-27 at 09:16:45 UTC, xinhui wrote:
> From: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com>
>
> Implement xchg{u8,u16}{local,relaxed}, and
> cmpxchg{u8,u16}{,local,acquire,relaxed}.
>
> It works on all ppc.
>
> remove volatile of first parameter in __cmpxchg_local and __cmpxchg
>
> Suggested-by: Peter Zijlstra (Intel) <peterz at infradead.org>
> Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com>
> Acked-by: Boqun Feng <boqun.feng at gmail.com>
> Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d0563a1297e234ed37f6b51c2e9321
cheers
More information about the Linuxppc-dev
mailing list