diff options
author | Palmer Dabbelt <palmer@sifive.com> | 2017-11-29 01:04:05 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2017-11-29 01:04:05 +0300 |
commit | 9347ce54cd699db92d37e66191aa4b9a0a92304e (patch) | |
tree | c33fd1368232b09cb0aaf72593766ebdc8e1b0dd /arch/riscv/include/asm/bitops.h | |
parent | 3343eb6806f365b9e3d451040671fa9336e57513 (diff) | |
download | linux-9347ce54cd699db92d37e66191aa4b9a0a92304e.tar.xz |
RISC-V: __test_and_op_bit_ord should be strongly ordered
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>
Diffstat (limited to 'arch/riscv/include/asm/bitops.h')
-rw-r--r-- | arch/riscv/include/asm/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h index 7c281ef1d583..f30daf26f08f 100644 --- 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, ) |