Re: [Xen-devel] [PATCH v3 8/8] asm-x86/atomic.h: implement missing, add common prototypes

2016-07-14 Thread Corneliu ZUZU
On 7/14/2016 12:44 PM, Andrew Cooper wrote: On 14/07/16 10:39, Corneliu ZUZU wrote: On 7/14/2016 12:29 PM, Andrew Cooper wrote: On 14/07/16 10:14, Corneliu ZUZU wrote: - implement missing functions atomic_{sub,inc,dec}_return(), atomic_add_unless() on X86 and also add prototypes for them

Re: [Xen-devel] [PATCH v3 8/8] asm-x86/atomic.h: implement missing, add common prototypes

2016-07-14 Thread Andrew Cooper
On 14/07/16 10:39, Corneliu ZUZU wrote: > On 7/14/2016 12:29 PM, Andrew Cooper wrote: >> On 14/07/16 10:14, Corneliu ZUZU wrote: >>> - implement missing functions atomic_{sub,inc,dec}_return(), >>> atomic_add_unless() >>> on X86 and also add prototypes for them in common >>> >>> - add missing

Re: [Xen-devel] [PATCH v3 8/8] asm-x86/atomic.h: implement missing, add common prototypes

2016-07-14 Thread Corneliu ZUZU
On 7/14/2016 12:29 PM, Andrew Cooper wrote: On 14/07/16 10:14, Corneliu ZUZU wrote: - implement missing functions atomic_{sub,inc,dec}_return(), atomic_add_unless() on X86 and also add prototypes for them in common - add missing macro atomic_xchg for X86 Signed-off-by: Corneliu

Re: [Xen-devel] [PATCH v3 8/8] asm-x86/atomic.h: implement missing, add common prototypes

2016-07-14 Thread Andrew Cooper
On 14/07/16 10:14, Corneliu ZUZU wrote: > - implement missing functions atomic_{sub,inc,dec}_return(), > atomic_add_unless() > on X86 and also add prototypes for them in common > > - add missing macro atomic_xchg for X86 > > Signed-off-by: Corneliu ZUZU Reviewed-by:

[Xen-devel] [PATCH v3 8/8] asm-x86/atomic.h: implement missing, add common prototypes

2016-07-14 Thread Corneliu ZUZU
- implement missing functions atomic_{sub,inc,dec}_return(), atomic_add_unless() on X86 and also add prototypes for them in common - add missing macro atomic_xchg for X86 Signed-off-by: Corneliu ZUZU --- xen/include/asm-x86/atomic.h | 27 +++