aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 67f0e20b101f..134aef9d66c5 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -58,7 +58,7 @@
58 58
59//#define RMAP_DEBUG /* can be enabled only for debugging */ 59//#define RMAP_DEBUG /* can be enabled only for debugging */
60 60
61kmem_cache_t *anon_vma_cachep; 61struct kmem_cache *anon_vma_cachep;
62 62
63static inline void validate_anon_vma(struct vm_area_struct *find_vma) 63static inline void validate_anon_vma(struct vm_area_struct *find_vma)
64{ 64{
@@ -166,7 +166,8 @@ void anon_vma_unlink(struct vm_area_struct *vma)
166 anon_vma_free(anon_vma); 166 anon_vma_free(anon_vma);
167} 167}
168 168
169static void anon_vma_ctor(void *data, kmem_cache_t *cachep, unsigned long flags) 169static void anon_vma_ctor(void *data, struct kmem_cache *cachep,
170 unsigned long flags)
170{ 171{
171 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == 172 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
172 SLAB_CTOR_CONSTRUCTOR) { 173 SLAB_CTOR_CONSTRUCTOR) {