summaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-12-06 20:32:48 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:22 -0800
commitc43692e85f306667545b91194c748a6e46c1f8b4 (patch)
tree5a1a47c0ddeded4d4591befcd3176f50669cd322 /include/linux/mm.h
parent298ec1e2ac85cecce3eddd167286359358c44d5d (diff)
downloadlinux-c43692e85f306667545b91194c748a6e46c1f8b4.tar.gz
linux-c43692e85f306667545b91194c748a6e46c1f8b4.tar.bz2
linux-c43692e85f306667545b91194c748a6e46c1f8b4.zip
[PATCH] Move vm_area_cachep to include/mm.h
vm_area_cachep is used to store vm_area_structs. So move to mm.h. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h2
1 files changed, 2 insertions, 0 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 {
#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