summaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mprotect.c')
-rw-r--r--mm/mprotect.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c
index cc78e10ab..b28237c09 100644
--- a/mm/mprotect.c
+++ b/mm/mprotect.c
@@ -3,20 +3,12 @@
*
* (C) Copyright 1994 Linus Torvalds
*/
-#include <linux/stat.h>
-#include <linux/sched.h>
-#include <linux/kernel.h>
-#include <linux/mm.h>
-#include <linux/smp.h>
+#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/shm.h>
-#include <linux/errno.h>
#include <linux/mman.h>
-#include <linux/string.h>
-#include <linux/slab.h>
#include <asm/uaccess.h>
-#include <asm/system.h>
#include <asm/pgtable.h>
static inline void change_pte_range(pmd_t * pmd, unsigned long address,