diff options
author | Kees Cook <keescook@chromium.org> | 2016-08-10 22:46:49 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-12 16:47:06 +0100 |
commit | 7619751f8c900fa5fdd76db06f4caf095c56de8e (patch) | |
tree | c4b0185d61b10af7b385e2c20cbe15137ac93097 /arch/arm/lib | |
parent | d782e426b835bd2e79d868eb4af8510ed79e0aee (diff) | |
download | linux-7619751f8c900fa5fdd76db06f4caf095c56de8e.tar.bz2 |
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 @@ /* * 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, |