diff options
-rw-r--r-- | include/linux/mm.h | 2 | ||||
-rw-r--r-- | include/linux/slab.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index ab6e4974f379..840303769c11 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -114,6 +114,8 @@ struct vm_area_struct { | |||
114 | #endif | 114 | #endif |
115 | }; | 115 | }; |
116 | 116 | ||
117 | extern struct kmem_cache *vm_area_cachep; | ||
118 | |||
117 | /* | 119 | /* |
118 | * This struct defines the per-mm list of VMAs for uClinux. If CONFIG_MMU is | 120 | * This struct defines the per-mm list of VMAs for uClinux. If CONFIG_MMU is |
119 | * disabled, then there's a single shared list of VMAs maintained by the | 121 | * disabled, then there's a single shared list of VMAs maintained by the |
diff --git a/include/linux/slab.h b/include/linux/slab.h index 467b297d2c6f..a30a4028a92e 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -309,7 +309,6 @@ static inline void *kcalloc(size_t n, size_t size, gfp_t flags) | |||
309 | #endif /* CONFIG_SLOB */ | 309 | #endif /* CONFIG_SLOB */ |
310 | 310 | ||
311 | /* System wide caches */ | 311 | /* System wide caches */ |
312 | extern kmem_cache_t *vm_area_cachep; | ||
313 | extern kmem_cache_t *names_cachep; | 312 | extern kmem_cache_t *names_cachep; |
314 | extern kmem_cache_t *files_cachep; | 313 | extern kmem_cache_t *files_cachep; |
315 | extern kmem_cache_t *filp_cachep; | 314 | extern kmem_cache_t *filp_cachep; |