lib: Fix typo in atomic exchange functions
authorAtish Patra <atish.patra@wdc.com>
Fri, 21 Feb 2020 23:47:53 +0000 (15:47 -0800)
committerAnup Patel <anup@brainfault.org>
Sat, 22 Feb 2020 04:34:38 +0000 (10:04 +0530)
commitc3b3b8f43b49e4fa8fde5e916cd8d573687e3626
tree76ae162de471576dc6094aa137d3f274c771fdc9
parent3e7d666d7ca5eca5b4ba9c0c624a1747bbfd7bf7
lib: Fix typo in atomic exchange functions

There is a typo in atomic operations code which prevents the
usage of riscv atomic instructions even if it is supported.

Fix the typo.

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