summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-18 16:20:37 +0200
committerH. Peter Anvin <hpa@zytor.com>2008-10-23 07:55:21 +0200
commit2985cfdb04002b8e4c003a4008b2580aaebf75fc (patch)
treeef16c3743d092b629d7ea42bcd8398648042a905 /arch
parentx86, um: get rid of uml asm/arch (diff)
downloadlinux-2985cfdb04002b8e4c003a4008b2580aaebf75fc.tar.xz
linux-2985cfdb04002b8e4c003a4008b2580aaebf75fc.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/Makefile3
-rw-r--r--arch/um/include/asm/page.h2
-rw-r--r--arch/um/include/shared/sysdep-i386/vm-flags.h (renamed from arch/um/include/asm/vm-flags-i386.h)0
-rw-r--r--arch/um/include/shared/sysdep-x86_64/vm-flags.h (renamed from arch/um/include/asm/vm-flags-x86_64.h)0
4 files changed, 2 insertions, 3 deletions
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 <linux/types.h>
-#include <asm/vm-flags.h>
+#include <sysdep/vm-flags.h>
/*
* 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
index e0d24c568dbc..e0d24c568dbc 100644
--- a/arch/um/include/asm/vm-flags-i386.h
+++ b/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
index 3213edfa7888..3213edfa7888 100644
--- a/arch/um/include/asm/vm-flags-x86_64.h
+++ b/arch/um/include/shared/sysdep-x86_64/vm-flags.h