]> Git Repo - linux.git/blob - arch/riscv/include/asm/fence.h
Merge remote-tracking branch 'spi/for-5.14' into spi-linus
[linux.git] / arch / riscv / include / asm / fence.h
1 #ifndef _ASM_RISCV_FENCE_H
2 #define _ASM_RISCV_FENCE_H
3
4 #ifdef CONFIG_SMP
5 #define RISCV_ACQUIRE_BARRIER           "\tfence r , rw\n"
6 #define RISCV_RELEASE_BARRIER           "\tfence rw,  w\n"
7 #else
8 #define RISCV_ACQUIRE_BARRIER
9 #define RISCV_RELEASE_BARRIER
10 #endif
11
12 #endif  /* _ASM_RISCV_FENCE_H */
This page took 0.037082 seconds and 4 git commands to generate.