Просмотр исходного кода

um: Cleanup mem_32/64.c headers

Include only headers we really need.

Signed-off-by: Richard Weinberger <richard@nod.at>
Richard Weinberger 10 лет назад
Родитель
Сommit
2779567346
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 2
      arch/x86/um/mem_32.c
  2. 1 2
      arch/x86/um/mem_64.c

+ 1 - 2
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;
 

+ 1 - 2
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)
 {