diff options
author | Leonardo Bras <[email protected]> | 2024-01-03 13:32:03 -0300 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-04-08 10:52:06 -0700 |
commit | a8ed2b7a2c13cb8a613cc9a8862688a1385b942d (patch) | |
tree | 065ed63ab4f37f2e7b18e2795c9e8652d5ee96c5 /scripts/generate_rust_analyzer.py | |
parent | 54280ca64626f73ce39ba8f7befa9139a6786ffd (diff) |
riscv/cmpxchg: Implement xchg for variables of size 1 and 2
xchg for variables of size 1-byte and 2-bytes is not yet available for
riscv, even though its present in other architectures such as arm64 and
x86. This could lead to not being able to implement some locking mechanisms
or requiring some rework to make it work properly.
Implement 1-byte and 2-bytes xchg in order to achieve parity with other
architectures.
Signed-off-by: Leonardo Bras <[email protected]>
Tested-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions