|
@@ -8,6 +8,7 @@
|
|
|
#include <linux/compiler.h>
|
|
|
#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */
|
|
|
#include <asm/byteorder.h>
|
|
|
+#include <asm/barrier.h>
|
|
|
#include <linux/atomic.h>
|
|
|
|
|
|
/*
|
|
@@ -19,9 +20,6 @@
|
|
|
#define CHOP_SHIFTCOUNT(x) (((unsigned long) (x)) & (BITS_PER_LONG - 1))
|
|
|
|
|
|
|
|
|
-#define smp_mb__before_clear_bit() smp_mb()
|
|
|
-#define smp_mb__after_clear_bit() smp_mb()
|
|
|
-
|
|
|
/* See http://marc.theaimsgroup.com/?t=108826637900003 for discussion
|
|
|
* on use of volatile and __*_bit() (set/clear/change):
|
|
|
* *_bit() want use of volatile.
|