diff options
Diffstat (limited to 'arch/c6x/include')
-rw-r--r-- | arch/c6x/include/asm/bitops.h | 8 |
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 @@ | |||
14 | #ifdef __KERNEL__ | 14 | #ifdef __KERNEL__ |
15 | 15 | ||
16 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
17 | |||
18 | #include <asm/byteorder.h> | 17 | #include <asm/byteorder.h> |
19 | 18 | #include <asm/barrier.h> | |
20 | /* | ||
21 | * clear_bit() doesn't provide any barrier for the compiler. | ||
22 | */ | ||
23 | #define smp_mb__before_clear_bit() barrier() | ||
24 | #define smp_mb__after_clear_bit() barrier() | ||
25 | 19 | ||
26 | /* | 20 | /* |
27 | * We are lucky, DSP is perfect for bitops: do it in 3 cycles | 21 | * We are lucky, DSP is perfect for bitops: do it in 3 cycles |