]> git.baikalelectronics.ru Git - kernel.git/commit
riscv/barrier: Define __smp_{store_release,load_acquire}
authorAndrea Parri <parri.andrea@gmail.com>
Tue, 27 Feb 2018 02:24:11 +0000 (03:24 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 3 Apr 2018 02:59:43 +0000 (19:59 -0700)
commit1f27d9ca8ba53659e9e548632795ee8abc14c0b1
treea5fff32b1bde8022d3b6a6d4ff91a80cd4424f55
parent17a125099a8c4e05d364eab41cd2bb30ef1cd67c
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>
arch/riscv/include/asm/barrier.h