diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-13 19:00:37 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-04-18 14:20:34 +0200 |
commit | d038c0e8380fa8cae049bee8d81a5672cd159013 (patch) | |
tree | 65184d702e55a9518b39c2724450af6eb278c1dc /arch/frv/include/asm/bitops.h | |
parent | arch,cris: Convert smp_mb__*() (diff) | |
download | linux-d038c0e8380fa8cae049bee8d81a5672cd159013.tar.xz linux-d038c0e8380fa8cae049bee8d81a5672cd159013.zip |
arch,frv: Convert smp_mb__*()
Because:
arch/frv/include/asm/smp.h:#error SMP not supported
smp_mb() is barrier() and we can use the default implementation that
uses smp_mb().
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/n/tip-n296g51yzdu5ru1vp7mccxmf@git.kernel.org
Cc: David Howells <dhowells@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/frv/include/asm/bitops.h')
-rw-r--r-- | arch/frv/include/asm/bitops.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/frv/include/asm/bitops.h b/arch/frv/include/asm/bitops.h index 57bf85db893f..96de220ef131 100644 --- a/arch/frv/include/asm/bitops.h +++ b/arch/frv/include/asm/bitops.h @@ -25,12 +25,6 @@ #include <asm-generic/bitops/ffz.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() - #ifndef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS static inline unsigned long atomic_test_and_ANDNOT_mask(unsigned long mask, volatile unsigned long *v) |