浏览代码

x86, um: take vm-flags.h to sysdep

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Al Viro 17 年之前
父节点
当前提交
2985cfdb04

+ 1 - 2
arch/um/Makefile

@@ -19,8 +19,7 @@ core-y			+= $(ARCH_DIR)/kernel/		\
 			   $(ARCH_DIR)/os-$(OS)/
 
 # Have to precede the include because the included Makefiles reference them.
-SYMLINK_HEADERS := archparam.h processor.h ptrace.h \
-	module.h vm-flags.h elf.h
+SYMLINK_HEADERS := archparam.h processor.h ptrace.h module.h elf.h
 SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$(header))
 
 # XXX: The "os" symlink is only used by arch/um/include/os.h, which includes

+ 1 - 1
arch/um/include/asm/page.h

@@ -19,7 +19,7 @@
 struct page;
 
 #include <linux/types.h>
-#include <asm/vm-flags.h>
+#include <sysdep/vm-flags.h>
 
 /*
  * These are used to make use of C type-checking..

+ 0 - 0
arch/um/include/asm/vm-flags-i386.h → arch/um/include/shared/sysdep-i386/vm-flags.h


+ 0 - 0
arch/um/include/asm/vm-flags-x86_64.h → arch/um/include/shared/sysdep-x86_64/vm-flags.h