aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 7e60df99018e..7e90bebbeb6c 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -181,7 +181,7 @@ void __init anon_vma_init(void)
181 * Getting a lock on a stable anon_vma from a page off the LRU is 181 * Getting a lock on a stable anon_vma from a page off the LRU is
182 * tricky: page_lock_anon_vma rely on RCU to guard against the races. 182 * tricky: page_lock_anon_vma rely on RCU to guard against the races.
183 */ 183 */
184static struct anon_vma *page_lock_anon_vma(struct page *page) 184struct anon_vma *page_lock_anon_vma(struct page *page)
185{ 185{
186 struct anon_vma *anon_vma; 186 struct anon_vma *anon_vma;
187 unsigned long anon_mapping; 187 unsigned long anon_mapping;
@@ -201,7 +201,7 @@ out:
201 return NULL; 201 return NULL;
202} 202}
203 203
204static void page_unlock_anon_vma(struct anon_vma *anon_vma) 204void page_unlock_anon_vma(struct anon_vma *anon_vma)
205{ 205{
206 spin_unlock(&anon_vma->lock); 206 spin_unlock(&anon_vma->lock);
207 rcu_read_unlock(); 207 rcu_read_unlock();