ARM: 8595/2: apply more __ro_after_init

Guided by grsecurity's analogous __read_only markings in arch/arm,
this applies several uses of __ro_after_init to structures that are
only updated during __init.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Kees Cook
2016-08-10 22:46:49 +01:00
committed by Russell King
parent d782e426b8
commit 7619751f8c
5 changed files with 9 additions and 9 deletions

View File

@@ -29,7 +29,7 @@
/*
* Default to the loop-based delay implementation.
*/
struct arm_delay_ops arm_delay_ops = {
struct arm_delay_ops arm_delay_ops __ro_after_init = {
.delay = __loop_delay,
.const_udelay = __loop_const_udelay,
.udelay = __loop_udelay,