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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user