aboutsummaryrefslogtreecommitdiff
path: root/docs/platform
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-08-29 15:19:12 -0700
committerAnup Patel <anup@brainfault.org>2019-08-31 13:13:47 +0530
commit6bd1512024c84250a248dea37f30b71a2c4c260f (patch)
tree9a7d0545d0f10eb85b1c3d39d68a85e64ee9cbce /docs/platform
parent2e5cc9051b5daf0b164f0454e28e08c2b952089a (diff)
lib: Support atomic swap instructions
If compiler supports riscv atomic instructions, we should use them instead of legacy gcc built-in macros __sync_lock_test_and_set in atomic exchange functions. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs/platform')
0 files changed, 0 insertions, 0 deletions