From 2985cfdb04002b8e4c003a4008b2580aaebf75fc Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 18 Aug 2008 10:20:37 -0400 Subject: [PATCH] x86, um: take vm-flags.h to sysdep Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/um/Makefile | 3 +-- arch/um/include/asm/page.h | 2 +- .../{asm/vm-flags-i386.h => shared/sysdep-i386/vm-flags.h} | 0 .../{asm/vm-flags-x86_64.h => shared/sysdep-x86_64/vm-flags.h} | 0 4 files changed, 2 insertions(+), 3 deletions(-) rename arch/um/include/{asm/vm-flags-i386.h => shared/sysdep-i386/vm-flags.h} (100%) rename arch/um/include/{asm/vm-flags-x86_64.h => shared/sysdep-x86_64/vm-flags.h} (100%) 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