diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 28a44a2612dc..f7fa21dbced4 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -680,7 +680,7 @@ static void exit_mm(struct task_struct * tsk) | |||
680 | up_read(&mm->mmap_sem); | 680 | up_read(&mm->mmap_sem); |
681 | down_write(&mm->mmap_sem); | 681 | down_write(&mm->mmap_sem); |
682 | if (!--mm->core_waiters) | 682 | if (!--mm->core_waiters) |
683 | complete(mm->core_startup_done); | 683 | complete(&mm->core_state->startup); |
684 | up_write(&mm->mmap_sem); | 684 | up_write(&mm->mmap_sem); |
685 | 685 | ||
686 | wait_for_completion(&mm->core_done); | 686 | wait_for_completion(&mm->core_done); |