mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user