Commit c14decfc authored by Palmer Dabbelt's avatar Palmer Dabbelt

clocksource: clint: Export clint_time_val for modules

clint_time_val will soon be used by the RISC-V implementation of
random_get_entropy(), which is a static inline function that may be used by
modules (at least CRYPTO_JITTERENTROPY=m).
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent a1b8638b
...@@ -38,6 +38,7 @@ static unsigned int clint_timer_irq; ...@@ -38,6 +38,7 @@ static unsigned int clint_timer_irq;
#ifdef CONFIG_RISCV_M_MODE #ifdef CONFIG_RISCV_M_MODE
u64 __iomem *clint_time_val; u64 __iomem *clint_time_val;
EXPORT_SYMBOL(clint_time_val);
#endif #endif
static void clint_send_ipi(const struct cpumask *target) static void clint_send_ipi(const struct cpumask *target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment