mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-01-09 13:31:24 +00:00
include: sbi_scratch: fix typo sbi_scratch -> HART id
Fix "sbi_scratch" to "HART id" to better reflect its purpose. Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260107032602.1143819-1-ycliang@andestech.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
committed by
Anup Patel
parent
e7fa66c216
commit
65fac65311
@@ -186,7 +186,7 @@ extern u32 sbi_scratch_hart_count;
|
||||
/** HART index to HART id table */
|
||||
extern u32 hartindex_to_hartid_table[];
|
||||
|
||||
/** Get sbi_scratch from HART index */
|
||||
/** Get HART id from HART index */
|
||||
#define sbi_hartindex_to_hartid(__hartindex) \
|
||||
({ \
|
||||
((__hartindex) < SBI_HARTMASK_MAX_BITS) ? \
|
||||
|
||||
Reference in New Issue
Block a user