diff options
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -567,6 +567,10 @@ static void use_mm(struct mm_struct *mm) | |||
567 | atomic_inc(&mm->mm_count); | 567 | atomic_inc(&mm->mm_count); |
568 | tsk->mm = mm; | 568 | tsk->mm = mm; |
569 | tsk->active_mm = mm; | 569 | tsk->active_mm = mm; |
570 | /* | ||
571 | * Note that on UML this *requires* PF_BORROWED_MM to be set, otherwise | ||
572 | * it won't work. Update it accordingly if you change it here | ||
573 | */ | ||
570 | activate_mm(active_mm, mm); | 574 | activate_mm(active_mm, mm); |
571 | task_unlock(tsk); | 575 | task_unlock(tsk); |
572 | 576 | ||