commit | 0cd077dea6237f9edb409187c669ab3cff40d8c5 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben.dooks@sifive.com> | Fri May 05 09:02:06 2023 +0100 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Jul 06 17:28:08 2023 +0800 |
tree | 84cee76aef0b9e0a773c42c438063c6b7bd155f3 | |
parent | 17f6b11464d23fdf337a7a7a6a4cde0ebbbfc54d [diff] |
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>