]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: define test_and_{set,clear}_bit in asm/bitops.h
authorBen Dooks <ben.dooks@sifive.com>
Fri, 5 May 2023 08:02:07 +0000 (09:02 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commit661e2215f8483cc7a77badeab6dcbf6a88cc715c
treedcde3313fd571a2ed2132ef1bc9975570d6373e3
parent551de2169a49962f9d6c02ee3faa4ccc41f32107
riscv: define test_and_{set,clear}_bit in asm/bitops.h

These seem to be missing, and trying to build ubifs without them
is causing errors due to these being missing.

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/bitops.h