|
@@ -51,11 +51,7 @@
|
|
#define PPC_BIT(bit) (1UL << PPC_BITLSHIFT(bit))
|
|
#define PPC_BIT(bit) (1UL << PPC_BITLSHIFT(bit))
|
|
#define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs))
|
|
#define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs))
|
|
|
|
|
|
-/*
|
|
|
|
- * clear_bit doesn't imply a memory barrier
|
|
|
|
- */
|
|
|
|
-#define smp_mb__before_clear_bit() smp_mb()
|
|
|
|
-#define smp_mb__after_clear_bit() smp_mb()
|
|
|
|
|
|
+#include <asm/barrier.h>
|
|
|
|
|
|
/* Macro for generating the ***_bits() functions */
|
|
/* Macro for generating the ***_bits() functions */
|
|
#define DEFINE_BITOP(fn, op, prefix) \
|
|
#define DEFINE_BITOP(fn, op, prefix) \
|