]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/arm64/kernel/smp.c
arm64: alternatives: apply boot time fixups via the linear mapping
[mirror_ubuntu-hirsute-kernel.git] / arch / arm64 / kernel / smp.c
index ef1caae02110eef59c4abb5dd5cbb8051d9cc269..d4739552da286fcda320327fbd0fe80222adf088 100644 (file)
@@ -434,6 +434,7 @@ void __init smp_cpus_done(unsigned int max_cpus)
        setup_cpu_features();
        hyp_mode_check();
        apply_alternatives_all();
+       mark_linear_text_alias_ro();
 }
 
 void __init smp_prepare_boot_cpu(void)