Skip to content

Commit c14decf

Browse files
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 <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent a1b8638 commit c14decf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clocksource/timer-clint.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static unsigned int clint_timer_irq;
3838

3939
#ifdef CONFIG_RISCV_M_MODE
4040
u64 __iomem *clint_time_val;
41+
EXPORT_SYMBOL(clint_time_val);
4142
#endif
4243

4344
static void clint_send_ipi(const struct cpumask *target)

0 commit comments

Comments
 (0)