aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/global_data.h
diff options
context:
space:
mode:
authorthead_admin <occ_thead@service.alibaba.com>2022-11-22 15:50:04 +0800
committerthead_admin <occ_thead@service.alibaba.com>2022-11-22 15:50:04 +0800
commit0c8e009c3a52c6a29b00cf70d368d5c082639197 (patch)
treea4389b0f036807156e36409123b58cbf3c78e656 /arch/riscv/include/asm/global_data.h
parent43db9e00d5837c100c0b2fbbee64a08ab807d1e0 (diff)
Linux_SDK_V1.0.2Linux_SDK_V1.0.2
Diffstat (limited to 'arch/riscv/include/asm/global_data.h')
-rw-r--r--arch/riscv/include/asm/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h
index b74bd7e7..963bb9e1 100644
--- a/arch/riscv/include/asm/global_data.h
+++ b/arch/riscv/include/asm/global_data.h
@@ -18,7 +18,7 @@ struct arch_global_data {
#ifdef CONFIG_SIFIVE_CLINT
void __iomem *clint; /* clint base address */
#endif
-#ifdef CONFIG_ANDES_PLIC
+#if (defined CONFIG_ANDES_PLIC) || (defined CONFIG_THEAD_PLIC)
void __iomem *plic; /* plic base address */
#endif
#ifdef CONFIG_ANDES_PLMT