summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/time.c')
-rw-r--r--arch/riscv/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c
index 1b432264f7ef..8217b0f67c6c 100644
--- a/arch/riscv/kernel/time.c
+++ b/arch/riscv/kernel/time.c
@@ -11,7 +11,7 @@
#include <asm/processor.h>
#include <asm/timex.h>
-unsigned long riscv_timebase;
+unsigned long riscv_timebase __ro_after_init;
EXPORT_SYMBOL_GPL(riscv_timebase);
void __init time_init(void)