init: Declare rodata_enabled and mark_rodata_ro() at all time
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 21 Dec 2023 09:02:46 +0000 (10:02 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Fri, 2 Feb 2024 18:21:25 +0000 (10:21 -0800)
commit398ec3e925eb1c4d5850ec60f7075e0c20199003
tree2db7c646a2ec561d35d4ed43d849391b0cb3748e
parent3559ad395bf02f3dee576dc9acab4ce330ce57b5
init: Declare rodata_enabled and mark_rodata_ro() at all time

Declaring rodata_enabled and mark_rodata_ro() at all time
helps removing related #ifdefery in C files.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
include/linux/init.h
init/main.c