From: Palmer Dabbelt Date: Wed, 30 Sep 2020 06:48:47 +0000 (-0700) Subject: clocksource: clint: Export clint_time_val for modules X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c14decfca23cfbeb423ad8be3961a58a31a5473c;p=linux.git 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 Signed-off-by: Palmer Dabbelt --- diff --git a/drivers/clocksource/timer-clint.c b/drivers/clocksource/timer-clint.c index d17367dee02cc..6cfe2ab73eb0c 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)