diff options
Diffstat (limited to 'arch/powerpc/kernel/paca.c')
-rw-r--r-- | arch/powerpc/kernel/paca.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index 623c356fe34f..bf0aada02fe4 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c | |||
@@ -160,6 +160,11 @@ void __init initialise_paca(struct paca_struct *new_paca, int cpu) | |||
160 | #ifdef CONFIG_PPC_STD_MMU_64 | 160 | #ifdef CONFIG_PPC_STD_MMU_64 |
161 | new_paca->slb_shadow_ptr = init_slb_shadow(cpu); | 161 | new_paca->slb_shadow_ptr = init_slb_shadow(cpu); |
162 | #endif /* CONFIG_PPC_STD_MMU_64 */ | 162 | #endif /* CONFIG_PPC_STD_MMU_64 */ |
163 | |||
164 | #ifdef CONFIG_PPC_BOOK3E | ||
165 | /* For now -- if we have threads this will be adjusted later */ | ||
166 | new_paca->tcd_ptr = &new_paca->tcd; | ||
167 | #endif | ||
163 | } | 168 | } |
164 | 169 | ||
165 | /* Put the paca pointer into r13 and SPRG_PACA */ | 170 | /* Put the paca pointer into r13 and SPRG_PACA */ |