diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2016-08-15 11:20:21 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-15 20:54:43 +0300 |
commit | 92bb8d5d55f7fe1a7a1201c42120c1611840807c (patch) | |
tree | 0479defc4112178c42b331ad8ab51273fdc531eb /arch/arm/include/asm/hw_breakpoint.h | |
parent | bcd3006f07ef9c80ac225854c1518c22f2f56d71 (diff) | |
download | linux-92bb8d5d55f7fe1a7a1201c42120c1611840807c.tar.xz |
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>
Diffstat (limited to 'arch/arm/include/asm/hw_breakpoint.h')
0 files changed, 0 insertions, 0 deletions