Skip to content
Commit 551de216 authored by Ben Dooks's avatar Ben Dooks Committed by Leo Yu-Chi Liang
Browse files

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: default avatarBen Dooks <ben.dooks@sifive.com>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent 3c874711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment