aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x/include/asm/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/asm/bitops.h')
-rw-r--r--arch/c6x/include/asm/bitops.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/c6x/include/asm/bitops.h b/arch/c6x/include/asm/bitops.h
index 0bec7e5036a8..f0ab012401b6 100644
--- a/arch/c6x/include/asm/bitops.h
+++ b/arch/c6x/include/asm/bitops.h
@@ -14,14 +14,8 @@
#ifdef __KERNEL__
#include <linux/bitops.h>
-
#include <asm/byteorder.h>
-
-/*
- * clear_bit() doesn't provide any barrier for the compiler.
- */
-#define smp_mb__before_clear_bit() barrier()
-#define smp_mb__after_clear_bit() barrier()
+#include <asm/barrier.h>
/*
* We are lucky, DSP is perfect for bitops: do it in 3 cycles