summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_domain.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sbi/sbi_domain.h b/include/sbi/sbi_domain.h
index 124ea90b..b05bcf4d 100644
--- a/include/sbi/sbi_domain.h
+++ b/include/sbi/sbi_domain.h
@@ -129,12 +129,8 @@ struct sbi_domain {
/** The root domain instance */
extern struct sbi_domain root;
-/** HART id to domain table */
-extern struct sbi_domain *hartid_to_domain_table[];
-
/** Get pointer to sbi_domain from HART id */
-#define sbi_hartid_to_domain(__hartid) \
- hartid_to_domain_table[__hartid]
+struct sbi_domain *sbi_hartid_to_domain(u32 hartid);
/** Get pointer to sbi_domain for current HART */
#define sbi_domain_thishart_ptr() \