diff options
Diffstat (limited to 'arch/powerpc/mm/mmu_context_nohash.c')
| -rw-r--r-- | arch/powerpc/mm/mmu_context_nohash.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c index 336807de550e..5b63bd3da4a9 100644 --- a/arch/powerpc/mm/mmu_context_nohash.c +++ b/arch/powerpc/mm/mmu_context_nohash.c | |||
| @@ -292,6 +292,11 @@ int init_new_context(struct task_struct *t, struct mm_struct *mm) | |||
| 292 | mm->context.id = MMU_NO_CONTEXT; | 292 | mm->context.id = MMU_NO_CONTEXT; |
| 293 | mm->context.active = 0; | 293 | mm->context.active = 0; |
| 294 | 294 | ||
| 295 | #ifdef CONFIG_PPC_MM_SLICES | ||
| 296 | if (slice_mm_new_context(mm)) | ||
| 297 | slice_set_user_psize(mm, mmu_virtual_psize); | ||
| 298 | #endif | ||
| 299 | |||
| 295 | return 0; | 300 | return 0; |
| 296 | } | 301 | } |
| 297 | 302 | ||
