RISCV_FENCE 21 arch/riscv/include/asm/barrier.h #define mb() RISCV_FENCE(iorw,iorw) RISCV_FENCE 22 arch/riscv/include/asm/barrier.h #define rmb() RISCV_FENCE(ir,ir) RISCV_FENCE 23 arch/riscv/include/asm/barrier.h #define wmb() RISCV_FENCE(ow,ow) RISCV_FENCE 26 arch/riscv/include/asm/barrier.h #define __smp_mb() RISCV_FENCE(rw,rw) RISCV_FENCE 27 arch/riscv/include/asm/barrier.h #define __smp_rmb() RISCV_FENCE(r,r) RISCV_FENCE 28 arch/riscv/include/asm/barrier.h #define __smp_wmb() RISCV_FENCE(w,w) RISCV_FENCE 33 arch/riscv/include/asm/barrier.h RISCV_FENCE(rw,w); \ RISCV_FENCE 41 arch/riscv/include/asm/barrier.h RISCV_FENCE(r,rw); \ RISCV_FENCE 62 arch/riscv/include/asm/barrier.h #define smp_mb__after_spinlock() RISCV_FENCE(rw,rw)