diff options
Diffstat (limited to 'arch/arm64/kernel/smp.c')
-rw-r--r-- | arch/arm64/kernel/smp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 328b8ce4b007..ffe8e1b814e0 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c | |||
@@ -151,6 +151,7 @@ asmlinkage void secondary_start_kernel(void) | |||
151 | */ | 151 | */ |
152 | cpu_set_reserved_ttbr0(); | 152 | cpu_set_reserved_ttbr0(); |
153 | flush_tlb_all(); | 153 | flush_tlb_all(); |
154 | cpu_set_default_tcr_t0sz(); | ||
154 | 155 | ||
155 | preempt_disable(); | 156 | preempt_disable(); |
156 | trace_hardirqs_off(); | 157 | trace_hardirqs_off(); |
@@ -309,7 +310,7 @@ void cpu_die(void) | |||
309 | void __init smp_cpus_done(unsigned int max_cpus) | 310 | void __init smp_cpus_done(unsigned int max_cpus) |
310 | { | 311 | { |
311 | pr_info("SMP: Total of %d processors activated.\n", num_online_cpus()); | 312 | pr_info("SMP: Total of %d processors activated.\n", num_online_cpus()); |
312 | apply_alternatives_all(); | 313 | do_post_cpus_up_work(); |
313 | } | 314 | } |
314 | 315 | ||
315 | void __init smp_prepare_boot_cpu(void) | 316 | void __init smp_prepare_boot_cpu(void) |