diff options
author | Peter Zijlstra <[email protected]> | 2014-03-13 19:00:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-04-18 14:20:43 +0200 |
commit | 57aa6a76864dfbb5450728199c37c02f401586ec (patch) | |
tree | f6d1e6f2a9a20520e54d2473066cd2fd816a1bce | |
parent | 0e530747c69f1e191f101a925bb4051894e5c7b0 (diff) |
arch,score: Convert smp_mb__*()
score fully relies on asm-generic/barrier.h, so it can use its default
implementation.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Lennox Wu <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Cc: Chen Liqin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/score/include/asm/bitops.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/score/include/asm/bitops.h b/arch/score/include/asm/bitops.h index a304096b1894..c1bf8d6d0fb0 100644 --- a/arch/score/include/asm/bitops.h +++ b/arch/score/include/asm/bitops.h @@ -2,12 +2,7 @@ #define _ASM_SCORE_BITOPS_H #include <asm/byteorder.h> /* swab32 */ - -/* - * 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> #include <asm-generic/bitops.h> #include <asm-generic/bitops/__fls.h> |