Security: remove security.h include from mm.h
authorJames Morris <jmorris@sdv.(none)>
Wed, 26 Dec 2007 04:12:37 +0000 (15:12 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 25 Jan 2008 00:29:49 +0000 (11:29 +1100)
Remove security.h include from mm.h, as it is only needed for a single
extern declaration, and pulls in all kinds of crud.

Fine-by-me: David Chinner <dgc@sgi.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/mm.h

index 1b7b95c..1897ca2 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/prio_tree.h>
 #include <linux/debug_locks.h>
 #include <linux/mm_types.h>
-#include <linux/security.h>
 
 struct mempolicy;
 struct anon_vma;
@@ -34,6 +33,8 @@ extern int sysctl_legacy_va_layout;
 #define sysctl_legacy_va_layout 0
 #endif
 
+extern unsigned long mmap_min_addr;
+
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/processor.h>