Jisheng Zhang 92bb8d5d55 ARM: 8597/1: VDSO: put RO and RO after init objects into proper sections
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>
2016-08-15 18:54:43 +01:00
..
2015-05-20 23:09:51 +02:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:24:50 +00:00
2012-03-28 18:30:01 +01:00
2014-11-21 15:24:50 +00:00
2015-09-11 19:18:28 +01:00
2014-11-21 15:25:02 +00:00
2016-06-14 10:54:42 -07:00
2016-08-12 16:47:06 +01:00
2014-11-21 15:24:50 +00:00
2015-10-03 16:36:45 +01:00