These pointers are only modified once in vdso_setup_data_pages(),
during the init phase. Make them read-only after that.
Drop __refdata as that would conflict with __ro_after_init.
Modpost does accept the reference from a __ro_after_init symbol to
an __init one.
Fixes:
|
||
|---|---|---|
| .. | ||
| datastore.c | ||
| getrandom.c | ||
| gettimeofday.c | ||
| Kconfig | ||
| Makefile | ||
| Makefile.include | ||