Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42d7896e authored by James Morris's avatar James Morris Committed by James Morris
Browse files

Security: remove security.h include from mm.h



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: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 88c3f7a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,6 @@
#include <linux/prio_tree.h>
#include <linux/prio_tree.h>
#include <linux/debug_locks.h>
#include <linux/debug_locks.h>
#include <linux/mm_types.h>
#include <linux/mm_types.h>
#include <linux/security.h>


struct mempolicy;
struct mempolicy;
struct anon_vma;
struct anon_vma;
@@ -34,6 +33,8 @@ extern int sysctl_legacy_va_layout;
#define sysctl_legacy_va_layout 0
#define sysctl_legacy_va_layout 0
#endif
#endif


extern unsigned long mmap_min_addr;

#include <asm/page.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/processor.h>