]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: implement local_irq_{save,restore} macros
authorBen Dooks <ben.dooks@sifive.com>
Fri, 5 May 2023 08:02:06 +0000 (09:02 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commit551de2169a49962f9d6c02ee3faa4ccc41f32107
tree84cee76aef0b9e0a773c42c438063c6b7bd155f3
parent3c874711ba2d66361b6040df48814be666aa6b1d
riscv: implement local_irq_{save,restore} macros

Add implementations of the local_irq_{save,restore} macros so that
<asm/atomic.h> can be used with riscv.

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