On 13/05/2020 23:14, Palmer Dabbelt wrote:
On Sun, 10 May 2020 19:20:00 PDT (-0700), wangkefeng.wang@xxxxxxxxxx wrote:How can we end up by an export symbol here ?!
ERROR: modpost: "riscv_time_val" [crypto/tcrypt.ko] undefined!Reviewed-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
---
Âdrivers/clocksource/timer-riscv.c | 1 +
Â1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/timer-riscv.c
b/drivers/clocksource/timer-riscv.c
index c4f15c4068c0..071b8c144027 100644
--- a/drivers/clocksource/timer-riscv.c
+++ b/drivers/clocksource/timer-riscv.c
@@ -19,6 +19,7 @@
Âu64 __iomem *riscv_time_cmp;
Âu64 __iomem *riscv_time_val;
+EXPORT_SYMBOL(riscv_time_val);
Âstatic inline void mmio_set_timer(u64 val)
Â{
Acked-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
Adding the clocksource maintainers. Let me know if you want this
through my
tree, I'm assuming you want it through your tree.