riscv: remove unused barrier defines
authorRolf Eike Beer <eb@emlix.com>
Mon, 17 Jun 2019 12:25:59 +0000 (14:25 +0200)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 17 Jun 2019 14:09:43 +0000 (07:09 -0700)
They were introduced in commit fab957c11efe ("RISC-V: Atomic and
Locking Code") long after commit 2e39465abc4b ("locking: Remove
deprecated smp_mb__() barriers") removed the remnants of all previous
instances from the tree.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
[paul.walmsley@sifive.com: stripped spurious mbox header from patch
 description; fixed commit references in patch header]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/include/asm/bitops.h

index f30daf26f08f44bbb1028640c0d8e2539220ab0f..01db98dfd04359395cfa8ff693c519de1e7f5af8 100644 (file)
 #include <asm/barrier.h>
 #include <asm/bitsperlong.h>
 
-#ifndef smp_mb__before_clear_bit
-#define smp_mb__before_clear_bit()  smp_mb()
-#define smp_mb__after_clear_bit()   smp_mb()
-#endif /* smp_mb__before_clear_bit */
-
 #include <asm-generic/bitops/__ffs.h>
 #include <asm-generic/bitops/ffz.h>
 #include <asm-generic/bitops/fls.h>