diff options
| author | Kees Cook <keescook@chromium.org> | 2016-08-10 17:46:49 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-12 11:47:06 -0400 |
| commit | 7619751f8c900fa5fdd76db06f4caf095c56de8e (patch) | |
| tree | c4b0185d61b10af7b385e2c20cbe15137ac93097 /arch/arm/lib | |
| parent | d782e426b835bd2e79d868eb4af8510ed79e0aee (diff) | |
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>
Diffstat (limited to 'arch/arm/lib')
| -rw-r--r-- | arch/arm/lib/delay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 8044591dca72..2cef11884857 100644 --- a/arch/arm/lib/delay.c +++ b/arch/arm/lib/delay.c | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | /* | 29 | /* |
| 30 | * Default to the loop-based delay implementation. | 30 | * Default to the loop-based delay implementation. |
| 31 | */ | 31 | */ |
| 32 | struct arm_delay_ops arm_delay_ops = { | 32 | struct arm_delay_ops arm_delay_ops __ro_after_init = { |
| 33 | .delay = __loop_delay, | 33 | .delay = __loop_delay, |
| 34 | .const_udelay = __loop_const_udelay, | 34 | .const_udelay = __loop_const_udelay, |
| 35 | .udelay = __loop_udelay, | 35 | .udelay = __loop_udelay, |
