projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3343eb6
)
RISC-V: __test_and_op_bit_ord should be strongly ordered
author
Palmer Dabbelt
<palmer@sifive.com>
Tue, 28 Nov 2017 22:04:05 +0000
(14:04 -0800)
committer
Palmer Dabbelt
<palmer@sifive.com>
Tue, 28 Nov 2017 22:04:05 +0000
(14:04 -0800)
I mis-read the documentation. After looking at it again the
documentation is actually as clear as it can be, it's just that I didn't
actually read it in order and therefor did the wrong thing.
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/riscv/include/asm/bitops.h
b/arch/riscv/include/asm/bitops.h
index 7c281ef1d58320d24caf33d4d1af2c57f4c75d9b..f30daf26f08f44bbb1028640c0d8e2539220ab0f 100644
(file)
--- a/
arch/riscv/include/asm/bitops.h
+++ b/
arch/riscv/include/asm/bitops.h
@@
-67,7
+67,7
@@
: "memory");
#define __test_and_op_bit(op, mod, nr, addr) \
- __test_and_op_bit_ord(op, mod, nr, addr, )
+ __test_and_op_bit_ord(op, mod, nr, addr,
.aqrl
)
#define __op_bit(op, mod, nr, addr) \
__op_bit_ord(op, mod, nr, addr, )