diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bitops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 9d236cc51..6989452cb 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -21,6 +21,9 @@ extern unsigned long __sw_hweight64(__u64 w); */ #include <asm/bitops.h> +/* 3.18 backport */ +#define smp_mb__after_atomic() smp_mb__after_clear_bit() + #define for_each_set_bit(bit, addr, size) \ for ((bit) = find_first_bit((addr), (size)); \ (bit) < (size); \ |
