diff options
| author | Atish Patra <atish.patra@wdc.com> | 2018-10-02 22:15:03 +0300 |
|---|---|---|
| committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-23 03:03:37 +0300 |
| commit | a37d56fc401108f39dec9ba83ed923a453937a26 (patch) | |
| tree | b050e592dc352a44bddc333ead5602abbab2e7a4 /drivers/fpga/fpga-mgr.c | |
| parent | 46373cb442c56d2f8a4c8b3f777c89d20546c9d5 (diff) | |
| download | linux-a37d56fc401108f39dec9ba83ed923a453937a26.tar.xz | |
RISC-V: Use WRITE_ONCE instead of direct access
The secondary harts spin on couple of per cpu variables until both of
these are non-zero so it's not necessary to have any ordering here.
However, WRITE_ONCE should be used to avoid tearing.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
