summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_domain.c
diff options
context:
space:
mode:
authorXiang W <wxjstz@126.com>2021-04-06 06:34:38 +0300
committerAnup Patel <anup@brainfault.org>2021-04-09 16:21:02 +0300
commit70ffc3e2e690f2b7bcea456f49206b636420ef5f (patch)
tree8a5adc76377e80884965fabc73457904110fb2a9 /lib/sbi/sbi_domain.c
parent4d8e2f135d659697337f8d4a33fec60cd475f0dc (diff)
downloadopensbi-70ffc3e2e690f2b7bcea456f49206b636420ef5f.tar.xz
lib: sbi: fix atomic_add_return
The unsigned length may be 4 bytes or 8 bytes, amoadd.w only applies to 4 bytes hence this patch. Signed-off-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_domain.c')
0 files changed, 0 insertions, 0 deletions