commit | 8d235b174af5d0af35ff206c15041fc2b02a0993 | [log] [tgz] |
---|---|---|
author | Andrea Parri <parri.andrea@gmail.com> | Tue Feb 27 03:24:11 2018 +0100 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Apr 02 19:59:43 2018 -0700 |
tree | a5fff32b1bde8022d3b6a6d4ff91a80cd4424f55 | |
parent | 0adb32858b0bddf4ada5f364a84ed60b196dbcda [diff] |
riscv/barrier: Define __smp_{store_release,load_acquire} Introduce __smp_{store_release,load_acquire}, and rely on the generic definitions for smp_{store_release,load_acquire}. This avoids the use of full ("rw,rw") fences on SMP. Signed-off-by: Andrea Parri <parri.andrea@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>