Commit d76a196b authored by Jan Remes's avatar Jan Remes Committed by Anup Patel
Browse files

lib: irqchip/plic: fix typo in plic_warm_irqchip_init

The second invocation of plic_context_init() incorrectly calls the
function with m_cntx_id instead of s_cntx_id. This breaks systems which
only have 1 external interrupt per hart.

Fixes: 8c362e7d

 ("lib: irqchip/plic: Factor out a context init function")
Signed-off-by: default avatarJan Remes <jan.remes@codasip.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Reviewed-by: default avatarSamuel Holland <samuel@sholland.org>
parent 77383453
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment