From: Christoph Lameter vm_area_cachep is used to store vm_area_structs. So move to mm.h. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- include/linux/mm.h | 2 ++ include/linux/slab.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/linux/mm.h~move-vm_area_cachep-to-include-mmh include/linux/mm.h --- a/include/linux/mm.h~move-vm_area_cachep-to-include-mmh +++ a/include/linux/mm.h @@ -114,6 +114,8 @@ struct vm_area_struct { #endif }; +extern struct kmem_cache *vm_area_cachep; + /* * This struct defines the per-mm list of VMAs for uClinux. If CONFIG_MMU is * disabled, then there's a single shared list of VMAs maintained by the diff -puN include/linux/slab.h~move-vm_area_cachep-to-include-mmh include/linux/slab.h --- a/include/linux/slab.h~move-vm_area_cachep-to-include-mmh +++ a/include/linux/slab.h @@ -313,7 +313,6 @@ static inline void *kcalloc(size_t n, si #endif /* CONFIG_SLOB */ /* System wide caches */ -extern kmem_cache_t *vm_area_cachep; extern kmem_cache_t *names_cachep; extern kmem_cache_t *files_cachep; extern kmem_cache_t *filp_cachep; _