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:
Leo Yu-Chi Liang
2026-01-07 11:26:02 +08:00
committed by Anup Patel
parent e7fa66c216
commit 65fac65311

View File

@@ -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) ? \