include: Use more consistent name for atomic xchg() and cmpxchg()
authorAnup Patel <anup.patel@wdc.com>
Thu, 26 Mar 2020 12:40:02 +0000 (18:10 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 28 Mar 2020 08:02:38 +0000 (13:32 +0530)
commit5b6957eed75ca7842861e0f6765d0f6a64408e05
tree6ac41dea78cdd7db7c4006c052bcf069b1dc1814
parent7b211ff92482379aa34c0a217e2aeded5713b2d5
include: Use more consistent name for atomic xchg() and cmpxchg()

We should remove the "arch_" prefix from atomic xchg() and cmpxchg()
function names to have consistent naming of all atomic functions.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/riscv_atomic.h
lib/sbi/riscv_atomic.c
lib/sbi/sbi_hsm.c
lib/sbi/sbi_init.c