Thread (22 messages) 22 messages, 4 authors, 2016-11-25

Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16

From: Peter Zijlstra <peterz@infradead.org>
Date: 2016-04-28 07:59:23
Also in: lkml

On Wed, Apr 27, 2016 at 05:16:45PM +0800, Pan Xinhui wrote:
From: Pan Xinhui <redacted>

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@infradead.org>
Signed-off-by: Pan Xinhui <redacted>
Generally has the right shape; and I trust others to double check the
ppc-asm minutia.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help