diff options
author | Kees Cook | 2016-08-10 23:46:49 +0200 |
---|---|---|
committer | Russell King | 2016-08-12 17:47:06 +0200 |
commit | 7619751f8c900fa5fdd76db06f4caf095c56de8e (patch) | |
tree | c4b0185d61b10af7b385e2c20cbe15137ac93097 /arch/arm/lib | |
parent | ARM: 8594/1: enable binfmt_flat on systems with an MMU (diff) | |
download | kernel-qcow2-linux-7619751f8c900fa5fdd76db06f4caf095c56de8e.tar.gz kernel-qcow2-linux-7619751f8c900fa5fdd76db06f4caf095c56de8e.tar.xz kernel-qcow2-linux-7619751f8c900fa5fdd76db06f4caf095c56de8e.zip |
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, |