Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cmpxchg_64.h File Reference

Go to the source code of this file.

Macros

#define __HAVE_ARCH_CMPXCHG   1
 
#define cmpxchg64(ptr, o, n)
 
#define cmpxchg64_local(ptr, o, n)
 
#define system_has_cmpxchg_double()   cpu_has_cx16
 

Macro Definition Documentation

#define __HAVE_ARCH_CMPXCHG   1

Definition at line 9 of file cmpxchg_64.h.

#define cmpxchg64 (   ptr,
  o,
  n 
)
Value:
({ \
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
cmpxchg((ptr), (o), (n)); \
})

Definition at line 11 of file cmpxchg_64.h.

#define cmpxchg64_local (   ptr,
  o,
  n 
)
Value:
({ \
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
cmpxchg_local((ptr), (o), (n)); \
})

Definition at line 17 of file cmpxchg_64.h.

#define system_has_cmpxchg_double ( )    cpu_has_cx16

Definition at line 23 of file cmpxchg_64.h.