#include <linux/compiler.h>
#include <asm/alternative.h>
Go to the source code of this file.
#define BIT_64 |
( |
|
n | ) |
(U64_C(1) << (n)) |
#define BITOP_ADDR |
( |
|
x | ) |
"=m" (*(volatile long *) (x)) |
#define CONST_MASK |
( |
|
nr | ) |
(1 << ((nr) & 7)) |
#define IS_IMMEDIATE |
( |
|
nr | ) |
(__builtin_constant_p(nr)) |
#define smp_mb__after_clear_bit |
( |
| ) |
barrier() |
#define smp_mb__before_clear_bit |
( |
| ) |
barrier() |
Value:(__builtin_constant_p((
nr)) \
? constant_test_bit((
nr), (
addr)) \
: variable_test_bit((
nr), (
addr)))
Definition at line 345 of file bitops.h.