#include <linux/compiler.h>
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/alternative.h>
#include <asm/cmpxchg.h>
#include <asm/atomic64_64.h>
Go to the source code of this file.
#define atomic_clear_mask |
( |
|
mask, |
|
|
|
addr |
|
) |
| |
#define ATOMIC_INIT |
( |
|
i | ) |
{ (i) } |
Value:
: :
"r" ((unsigned)(
mask)),
"m" (*(
addr)) \
: "memory")
Definition at line 276 of file atomic.h.
#define smp_mb__after_atomic_dec |
( |
| ) |
barrier() |
#define smp_mb__after_atomic_inc |
( |
| ) |
barrier() |
#define smp_mb__before_atomic_dec |
( |
| ) |
barrier() |
#define smp_mb__before_atomic_inc |
( |
| ) |
barrier() |