Go to the source code of this file.
|
static __inline__ unsigned long | __cmpxchg_u32 (volatile unsigned int *p, unsigned long old, unsigned long newp) |
|
static __inline__ unsigned long | __oro_cmpxchg (volatile void *ptr, unsigned long old, unsigned long newp, unsigned int size) |
|
#define __HAVE_ARCH_CMPXCHG 1 |
#define oro_cmpxchg |
( |
|
ptr, |
|
|
|
o, |
|
|
|
n |
|
) |
| |
Value:({ \
__typeof__(*(ptr)) _o_ = (o); \
__typeof__(*(ptr)) _n_ = (n); \
(unsigned long)_n_, sizeof(*(ptr))); \
})
static __inline__ unsigned long __oro_cmpxchg(volatile void *ptr, unsigned long old, unsigned long newp, unsigned int size)
Definition at line 94 of file oro_system.h.
static __inline__ unsigned long __cmpxchg_u32 |
( |
volatile unsigned int * |
p, |
|
|
unsigned long |
old, |
|
|
unsigned long |
newp |
|
) |
| |
|
static |
static __inline__ unsigned long __oro_cmpxchg |
( |
volatile void * |
ptr, |
|
|
unsigned long |
old, |
|
|
unsigned long |
newp, |
|
|
unsigned int |
size |
|
) |
| |
|
static |