diff options
-rw-r--r-- | fs/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -586,7 +586,7 @@ static void use_mm(struct mm_struct *mm) | |||
586 | * Note that on UML this *requires* PF_BORROWED_MM to be set, otherwise | 586 | * Note that on UML this *requires* PF_BORROWED_MM to be set, otherwise |
587 | * it won't work. Update it accordingly if you change it here | 587 | * it won't work. Update it accordingly if you change it here |
588 | */ | 588 | */ |
589 | activate_mm(active_mm, mm); | 589 | switch_mm(active_mm, mm, tsk); |
590 | task_unlock(tsk); | 590 | task_unlock(tsk); |
591 | 591 | ||
592 | mmdrop(active_mm); | 592 | mmdrop(active_mm); |