Skip to content
Commit 67bc5b2d authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Will Deacon
Browse files

arm64: alternatives: add __init/__initconst to some functions/variables



apply_alternatives_vdso(), __apply_alternatives_multi_stop() and
kernel_alternatives are not needed after booting, so mark the two
functions as __init and the var as __initconst.

Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20221202161859.2228-1-jszhang@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent d503d01e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment