]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8d235b174af5d0af35ff206c15041fc2b02a0993
treea5fff32b1bde8022d3b6a6d4ff91a80cd4424f55
parent0adb32858b0bddf4ada5f364a84ed60b196dbcda
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