aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Weinberger2015-05-12 00:07:07 +0200
committerRichard Weinberger2015-05-31 17:31:42 +0200
commit2779567346fc229fc286d0793f6f5e41f67aafe9 (patch)
tree5f50a4f42f5d71c3f8f4c10a7d4343005ddc98b1
parentf74a14e870c80d6261afed66d4bad779c1213e03 (diff)
um: Cleanup mem_32/64.c headers
Include only headers we really need. Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/x86/um/mem_32.c3
-rw-r--r--arch/x86/um/mem_64.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/um/mem_32.c b/arch/x86/um/mem_32.c
index f40281e5d6a2..744afdc18cf3 100644
--- a/arch/x86/um/mem_32.c
+++ b/arch/x86/um/mem_32.c
@@ -7,8 +7,7 @@
*/
#include <linux/mm.h>
-#include <asm/page.h>
-#include <asm/mman.h>
+#include <asm/elf.h>
static struct vm_area_struct gate_vma;
diff --git a/arch/x86/um/mem_64.c b/arch/x86/um/mem_64.c
index f8fecaddcc0d..7642e2e2aa61 100644
--- a/arch/x86/um/mem_64.c
+++ b/arch/x86/um/mem_64.c
@@ -1,6 +1,5 @@
#include <linux/mm.h>
-#include <asm/page.h>
-#include <asm/mman.h>
+#include <asm/elf.h>
const char *arch_vma_name(struct vm_area_struct *vma)
{