diff options
Diffstat (limited to 'mm/mmu_notifier.c')
-rw-r--r-- | mm/mmu_notifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index f4259e496f83..32bc9f2ff7eb 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c | |||
@@ -275,7 +275,7 @@ static int do_mmu_notifier_register(struct mmu_notifier *mn, | |||
275 | mm->mmu_notifier_mm = mmu_notifier_mm; | 275 | mm->mmu_notifier_mm = mmu_notifier_mm; |
276 | mmu_notifier_mm = NULL; | 276 | mmu_notifier_mm = NULL; |
277 | } | 277 | } |
278 | atomic_inc(&mm->mm_count); | 278 | mmgrab(mm); |
279 | 279 | ||
280 | /* | 280 | /* |
281 | * Serialize the update against mmu_notifier_unregister. A | 281 | * Serialize the update against mmu_notifier_unregister. A |