diff options
author | Eric Chan <[email protected]> | 2024-02-17 13:13:02 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-03-19 18:52:23 -0700 |
commit | b3c8064ccc447be45a3bdc2c4a9ea0491f011920 (patch) | |
tree | 1b3c8d45dbac207efd5bde0a529fe1a41410539b /scripts/rustdoc_test_builder.rs | |
parent | 89f4fd7b1ab7733d9d817e7123c58996ca38ae98 (diff) |
riscv/barrier: Define RISCV_FULL_BARRIER
Introduce RISCV_FULL_BARRIER and use in arch_atomic* function.
like RISCV_ACQUIRE_BARRIER and RISCV_RELEASE_BARRIER, the fence
instruction can be eliminated When SMP is not enabled.
Signed-off-by: Eric Chan <[email protected]>
Reviewed-by: Andrea Parri <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions