]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Resurrect smp_mb__after_spinlock()
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 6 Dec 2017 01:48:11 +0000 (17:48 -0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Mon, 11 Dec 2017 15:51:07 +0000 (07:51 -0800)
commit55aa4c3e71581150a0e5640ad21cee09c359054e
tree805a705c5ab4544fe0bb8402a21433805a502f7e
parent63939dff65244efb5945d13d32154c756696d7ae
RISC-V: Resurrect smp_mb__after_spinlock()

I removed this last week because of an incorrect comment:
smp_mb__after_spinlock() is actually still used, and is necessary on
RISC-V.  It's been resurrected, with a comment that describes what it
actually does this time.  Thanks to Andrea for finding the bug!

Fixes: e3db8e707417 ("RISC-V: Remove smb_mb__{before,after}_spinlock()")
CC: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/barrier.h