commit | 3cfa5008081db845c6c53d531ec34e9c84a9fd99 | [log] [tgz] |
---|---|---|
author | Palmer Dabbelt <palmer@sifive.com> | Tue Dec 05 17:48:11 2017 -0800 |
committer | Palmer Dabbelt <palmer@dabbelt.com> | Mon Dec 11 07:51:07 2017 -0800 |
tree | 805a705c5ab4544fe0bb8402a21433805a502f7e | |
parent | 86ad5c97ce5ccdda1459d35370fd5e105721bb8d [diff] |
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: 3343eb6806f3 ("RISC-V: Remove smb_mb__{before,after}_spinlock()") CC: Andrea Parri <parri.andrea@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>