summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2020-09-30 09:48:47 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-09-30 09:55:27 +0300
commitc14decfca23cfbeb423ad8be3961a58a31a5473c (patch)
tree3ede4ad532d0ef4161bb5484625e89c298c8d8f1 /drivers
parenta1b8638ba1320e6684aa98233c15255eb803fac7 (diff)
downloadlinux-c14decfca23cfbeb423ad8be3961a58a31a5473c.tar.xz
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: kernel test robot <lkp@intel.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clocksource/timer-clint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-clint.c b/drivers/clocksource/timer-clint.c
index d17367dee02c..6cfe2ab73eb0 100644
--- a/drivers/clocksource/timer-clint.c
+++ b/drivers/clocksource/timer-clint.c
@@ -38,6 +38,7 @@ static unsigned int clint_timer_irq;
#ifdef CONFIG_RISCV_M_MODE
u64 __iomem *clint_time_val;
+EXPORT_SYMBOL(clint_time_val);
#endif
static void clint_send_ipi(const struct cpumask *target)