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

Pan Xinhui xinhui at linux.vnet.ibm.com
Thu Apr 28 20:21:27 AEST 2016



On 2016年04月27日 22:59, Boqun Feng wrote:
> On Wed, Apr 27, 2016 at 10:50:34PM +0800, Boqun Feng wrote:
>>
>> Sorry, my bad, we can't implement cmpxchg like this.. please ignore
>> this, I should really go to bed soon...
>>
>> But still, we can save the "tmp" for xchg() I think.
>>
> 
> No.. we can't. Sorry for all the noise.
> 
> This patch looks good to me.
> 
> FWIW, you can add
> 
> Acked-by: Boqun Feng <boqun.feng at gmail.com>
> 
thanks!

> Regards,
> Boqun
> 



More information about the Linuxppc-dev mailing list