+6
−5
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
(cherry pick from commit 92bb8d5d55f7fe1a7a1201c42120c1611840807c) vdso_data_mapping is never modified, so mark it as const. vdso_total_pages, vdso_data_page, vdso_text_mapping and cntvct_ok are initialized by vdso_init(), thereafter are read only. The fact that they are read only after init makes them candidates for __ro_after_init declarations. Signed-off-by:Jisheng Zhang <jszhang@marvell.com> Reviewed-by:
Kees Cook <keescook@chromium.org> Acked-by:
Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Bug: 20045882 Bug: 19198045 Change-Id: I0b2f9807d3cd66c5ef7457ac6fc180a41cbe05c6