diff options
Diffstat (limited to 'mm/mmu_notifier.c')
-rw-r--r-- | mm/mmu_notifier.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index 950813b1eb36..2c8da9825fe3 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c | |||
@@ -107,7 +107,8 @@ void __mmu_notifier_release(struct mm_struct *mm) | |||
107 | * existed or not. | 107 | * existed or not. |
108 | */ | 108 | */ |
109 | int __mmu_notifier_clear_flush_young(struct mm_struct *mm, | 109 | int __mmu_notifier_clear_flush_young(struct mm_struct *mm, |
110 | unsigned long address) | 110 | unsigned long start, |
111 | unsigned long end) | ||
111 | { | 112 | { |
112 | struct mmu_notifier *mn; | 113 | struct mmu_notifier *mn; |
113 | int young = 0, id; | 114 | int young = 0, id; |
@@ -115,7 +116,7 @@ int __mmu_notifier_clear_flush_young(struct mm_struct *mm, | |||
115 | id = srcu_read_lock(&srcu); | 116 | id = srcu_read_lock(&srcu); |
116 | hlist_for_each_entry_rcu(mn, &mm->mmu_notifier_mm->list, hlist) { | 117 | hlist_for_each_entry_rcu(mn, &mm->mmu_notifier_mm->list, hlist) { |
117 | if (mn->ops->clear_flush_young) | 118 | if (mn->ops->clear_flush_young) |
118 | young |= mn->ops->clear_flush_young(mn, mm, address); | 119 | young |= mn->ops->clear_flush_young(mn, mm, start, end); |
119 | } | 120 | } |
120 | srcu_read_unlock(&srcu, id); | 121 | srcu_read_unlock(&srcu, id); |
121 | 122 | ||