ARM: 8595/2: apply more __ro_after_init
authorKees Cook <keescook@chromium.org>
Wed, 10 Aug 2016 21:46:49 +0000 (22:46 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 12 Aug 2016 15:47:06 +0000 (16:47 +0100)
commit7619751f8c900fa5fdd76db06f4caf095c56de8e
treec4b0185d61b10af7b385e2c20cbe15137ac93097
parentd782e426b835bd2e79d868eb4af8510ed79e0aee
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>
arch/arm/kernel/cpuidle.c
arch/arm/kernel/setup.c
arch/arm/kernel/smp.c
arch/arm/lib/delay.c
arch/arm/mm/mmu.c