diff options
Diffstat (limited to 'include')
-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 e9fd04ca1e51..b9b23ddca63a 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -87,7 +87,7 @@ static inline void get_anon_vma(struct anon_vma *anon_vma) | |||
87 | atomic_inc(&anon_vma->external_refcount); | 87 | atomic_inc(&anon_vma->external_refcount); |
88 | } | 88 | } |
89 | 89 | ||
90 | void drop_anon_vma(struct anon_vma *); | 90 | void put_anon_vma(struct anon_vma *); |
91 | #else | 91 | #else |
92 | static inline void anonvma_external_refcount_init(struct anon_vma *anon_vma) | 92 | static inline void anonvma_external_refcount_init(struct anon_vma *anon_vma) |
93 | { | 93 | { |
@@ -102,7 +102,7 @@ static inline void get_anon_vma(struct anon_vma *anon_vma) | |||
102 | { | 102 | { |
103 | } | 103 | } |
104 | 104 | ||
105 | static inline void drop_anon_vma(struct anon_vma *anon_vma) | 105 | static inline void put_anon_vma(struct anon_vma *anon_vma) |
106 | { | 106 | { |
107 | } | 107 | } |
108 | #endif /* CONFIG_KSM */ | 108 | #endif /* CONFIG_KSM */ |