2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/arch/riscv
Andrea Parri ab4af60534
riscv/barrier: Define __smp_{mb,rmb,wmb}
Introduce __smp_{mb,rmb,wmb}, and rely on the generic definitions
for smp_{mb,rmb,wmb}. A first consequence is that smp_{mb,rmb,wmb}
map to a compiler barrier on !SMP (while their definition remains
unchanged on SMP). As a further consequence, smp_load_acquire and
smp_store_release have "fence rw,rw" instead of "fence iorw,iorw".

Signed-off-by: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-02-26 08:44:50 -08:00
..
configs RISC-V: Add a basic defconfig 2018-01-07 15:14:36 -08:00
include riscv/barrier: Define __smp_{mb,rmb,wmb} 2018-02-26 08:44:50 -08:00
kernel Rename sbi_save to parse_dtb to improve code readability 2018-02-20 10:56:26 -08:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm RISC-V changes for 4.16 2018-02-07 11:33:08 -08:00
Kconfig riscv: Remove ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select 2018-02-20 10:51:07 -08:00
Makefile