diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | */ |
184 | static struct anon_vma *page_lock_anon_vma(struct page *page) | 184 | struct 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 | ||
204 | static void page_unlock_anon_vma(struct anon_vma *anon_vma) | 204 | void 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(); |