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 10da68202b10..892e1877366b 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -193,7 +193,7 @@ void __init anon_vma_init(void)
193 * Getting a lock on a stable anon_vma from a page off the LRU is 193 * Getting a lock on a stable anon_vma from a page off the LRU is
194 * tricky: page_lock_anon_vma rely on RCU to guard against the races. 194 * tricky: page_lock_anon_vma rely on RCU to guard against the races.
195 */ 195 */
196struct anon_vma *page_lock_anon_vma(struct page *page) 196static struct anon_vma *page_lock_anon_vma(struct page *page)
197{ 197{
198 struct anon_vma *anon_vma; 198 struct anon_vma *anon_vma;
199 unsigned long anon_mapping; 199 unsigned long anon_mapping;
@@ -213,7 +213,7 @@ out:
213 return NULL; 213 return NULL;
214} 214}
215 215
216void page_unlock_anon_vma(struct anon_vma *anon_vma) 216static void page_unlock_anon_vma(struct anon_vma *anon_vma)
217{ 217{
218 spin_unlock(&anon_vma->lock); 218 spin_unlock(&anon_vma->lock);
219 rcu_read_unlock(); 219 rcu_read_unlock();