summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/global_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/global_data.h')
-rw-r--r--arch/riscv/include/asm/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h
index 4d5d623725..a3a342c6e1 100644
--- a/arch/riscv/include/asm/global_data.h
+++ b/arch/riscv/include/asm/global_data.h
@@ -12,6 +12,10 @@
/* Architecture-specific global data */
struct arch_global_data {
+ long boot_hart; /* boot hart id */
+#ifdef CONFIG_SIFIVE_CLINT
+ void __iomem *clint; /* clint base address */
+#endif
};
#include <asm-generic/global_data.h>