Commit 925ce146 authored by Xiang W's avatar Xiang W Committed by Anup Patel
Browse files

lib: sbi: Simplify the initialization of root_hmask in sbi_domain_init



The original code has multiple conversions between hartid and
hartindex. Can call sbi_hartmask_set_hartindex directly to
avoid conversion.

Signed-off-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 27072504
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