RISC-V: Add READ_ONCE in arch_spin_is_locked()
authorPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Nov 2017 22:05:04 +0000 (14:05 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Nov 2017 22:05:04 +0000 (14:05 -0800)
commit21db403660d1433b8a02b26d5d4084921b857c40
tree0cdfbe952de30c914f146865fa6cb1bb899b5349
parent9347ce54cd699db92d37e66191aa4b9a0a92304e
RISC-V: Add READ_ONCE in arch_spin_is_locked()

This was just incorrect in the original version.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/spinlock.h