diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-05-13 08:32:46 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-02 21:39:29 +0200 |
| commit | 3f7fbde4cdd4a25c199a60849897459a63907ca5 (patch) | |
| tree | 9568956427d70e68709d07758706957e9ec210fe /scripts/cleanpatch | |
| parent | ce4abda5e12622f33450159e76c8f56d28d7f03d (diff) | |
vdso/datastore: Mark vdso_k_*_data pointers as __ro_after_init
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: 05988dba1179 ("vdso/datastore: Allocate data pages dynamically")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260513-vdso-ro-after-init-v1-1-4b51f74015a4@linutronix.de
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
