Skip to content

Commit

Permalink
clocksource: clint: Export clint_time_val for modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Palmer Dabbelt committed Sep 30, 2020
1 parent a1b8638 commit c14decf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clocksource/timer-clint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c14decf

Please sign in to comment.