diff options
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r-- | include/linux/rmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index 77216742c178..80cd162a8aa6 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -99,14 +99,14 @@ static inline struct anon_vma *page_anon_vma(struct page *page) | |||
99 | return page_rmapping(page); | 99 | return page_rmapping(page); |
100 | } | 100 | } |
101 | 101 | ||
102 | static inline void anon_vma_lock(struct vm_area_struct *vma) | 102 | static inline void vma_lock_anon_vma(struct vm_area_struct *vma) |
103 | { | 103 | { |
104 | struct anon_vma *anon_vma = vma->anon_vma; | 104 | struct anon_vma *anon_vma = vma->anon_vma; |
105 | if (anon_vma) | 105 | if (anon_vma) |
106 | spin_lock(&anon_vma->lock); | 106 | spin_lock(&anon_vma->lock); |
107 | } | 107 | } |
108 | 108 | ||
109 | static inline void anon_vma_unlock(struct vm_area_struct *vma) | 109 | static inline void vma_unlock_anon_vma(struct vm_area_struct *vma) |
110 | { | 110 | { |
111 | struct anon_vma *anon_vma = vma->anon_vma; | 111 | struct anon_vma *anon_vma = vma->anon_vma; |
112 | if (anon_vma) | 112 | if (anon_vma) |