From: Al Viro Date: Mon, 18 Aug 2008 14:20:37 +0000 (-0400) Subject: x86, um: take vm-flags.h to sysdep X-Git-Tag: v2.6.28-rc1~25^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2985cfdb04002b8e4c003a4008b2580aaebf75fc;p=karo-tx-linux.git x86, um: take vm-flags.h to sysdep Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- diff --git a/arch/um/Makefile b/arch/um/Makefile index fac25e202120..3af8c81bf4f0 100644 --- a/arch/um/Makefile +++ b/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 diff --git a/arch/um/include/asm/page.h b/arch/um/include/asm/page.h index a6df1f13d732..55f28a0bae6d 100644 --- a/arch/um/include/asm/page.h +++ b/arch/um/include/asm/page.h @@ -19,7 +19,7 @@ struct page; #include -#include +#include /* * These are used to make use of C type-checking.. diff --git a/arch/um/include/asm/vm-flags-i386.h b/arch/um/include/shared/sysdep-i386/vm-flags.h similarity index 100% rename from arch/um/include/asm/vm-flags-i386.h rename to arch/um/include/shared/sysdep-i386/vm-flags.h diff --git a/arch/um/include/asm/vm-flags-x86_64.h b/arch/um/include/shared/sysdep-x86_64/vm-flags.h similarity index 100% rename from arch/um/include/asm/vm-flags-x86_64.h rename to arch/um/include/shared/sysdep-x86_64/vm-flags.h