Skip to content
Commit 68432401 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

drivers: intc: plic: use per-instance spinlock



Instead of doing an `irq_lock()`, use per-instance spinlock instead.

Refactored out an unlocked version of `local_irq_is_enabled`
from `riscv_plic_irq_is_enabled()` to achieve that.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 13108563
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment