aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeo Yu-Chi Liang <ycliang@andestech.com>2026-01-07 11:26:02 +0800
committerAnup Patel <anup@brainfault.org>2026-01-08 12:40:32 +0530
commit65fac653113bcd1ac86ac85f44138caa69ad3d9a (patch)
tree3b109660a975ba6ef12d5e562e00da321e3c12c8 /include
parente7fa66c2160ec139de1853a00f669c09320a9256 (diff)
downloadopensbi-65fac653113bcd1ac86ac85f44138caa69ad3d9a.zip
opensbi-65fac653113bcd1ac86ac85f44138caa69ad3d9a.tar.gz
opensbi-65fac653113bcd1ac86ac85f44138caa69ad3d9a.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_scratch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h
index f1b4155..58d5462 100644
--- a/include/sbi/sbi_scratch.h
+++ b/include/sbi/sbi_scratch.h
@@ -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) ? \