diff options
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r-- | arch/powerpc/kernel/smp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 6c8e739a12da..567a1746ed74 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -305,6 +305,10 @@ struct thread_info *current_set[NR_CPUS]; | |||
305 | static void __devinit smp_store_cpu_info(int id) | 305 | static void __devinit smp_store_cpu_info(int id) |
306 | { | 306 | { |
307 | per_cpu(cpu_pvr, id) = mfspr(SPRN_PVR); | 307 | per_cpu(cpu_pvr, id) = mfspr(SPRN_PVR); |
308 | #ifdef CONFIG_PPC_FSL_BOOK3E | ||
309 | per_cpu(next_tlbcam_idx, id) | ||
310 | = (mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY) - 1; | ||
311 | #endif | ||
308 | } | 312 | } |
309 | 313 | ||
310 | void __init smp_prepare_cpus(unsigned int max_cpus) | 314 | void __init smp_prepare_cpus(unsigned int max_cpus) |