x86, um: get rid of sysdep symlink
Al Viro [Tue, 19 Aug 2008 01:44:32 +0000 (21:44 -0400)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

41 files changed:
arch/um/Makefile
arch/um/sys-i386/sysdep/archsetjmp.h [moved from arch/um/include/shared/sysdep-i386/archsetjmp.h with 100% similarity]
arch/um/sys-i386/sysdep/barrier.h [moved from arch/um/include/shared/sysdep-i386/barrier.h with 100% similarity]
arch/um/sys-i386/sysdep/checksum.h [moved from arch/um/include/shared/sysdep-i386/checksum.h with 100% similarity]
arch/um/sys-i386/sysdep/faultinfo.h [moved from arch/um/include/shared/sysdep-i386/faultinfo.h with 100% similarity]
arch/um/sys-i386/sysdep/host_ldt.h [moved from arch/um/include/shared/sysdep-i386/host_ldt.h with 100% similarity]
arch/um/sys-i386/sysdep/kernel-offsets.h [moved from arch/um/include/shared/sysdep-i386/kernel-offsets.h with 100% similarity]
arch/um/sys-i386/sysdep/ptrace.h [moved from arch/um/include/shared/sysdep-i386/ptrace.h with 100% similarity]
arch/um/sys-i386/sysdep/ptrace_user.h [moved from arch/um/include/shared/sysdep-i386/ptrace_user.h with 100% similarity]
arch/um/sys-i386/sysdep/sc.h [moved from arch/um/include/shared/sysdep-i386/sc.h with 100% similarity]
arch/um/sys-i386/sysdep/sigcontext.h [moved from arch/um/include/shared/sysdep-i386/sigcontext.h with 100% similarity]
arch/um/sys-i386/sysdep/skas_ptrace.h [moved from arch/um/include/shared/sysdep-i386/skas_ptrace.h with 100% similarity]
arch/um/sys-i386/sysdep/stub.h [moved from arch/um/include/shared/sysdep-i386/stub.h with 100% similarity]
arch/um/sys-i386/sysdep/syscalls.h [moved from arch/um/include/shared/sysdep-i386/syscalls.h with 100% similarity]
arch/um/sys-i386/sysdep/system.h [moved from arch/um/include/shared/sysdep-i386/system.h with 100% similarity]
arch/um/sys-i386/sysdep/tls.h [moved from arch/um/include/shared/sysdep-i386/tls.h with 100% similarity]
arch/um/sys-i386/sysdep/vm-flags.h [moved from arch/um/include/shared/sysdep-i386/vm-flags.h with 100% similarity]
arch/um/sys-ia64/sysdep/ptrace.h [moved from arch/um/include/shared/sysdep-ia64/ptrace.h with 100% similarity]
arch/um/sys-ia64/sysdep/sigcontext.h [moved from arch/um/include/shared/sysdep-ia64/sigcontext.h with 100% similarity]
arch/um/sys-ia64/sysdep/skas_ptrace.h [moved from arch/um/include/shared/sysdep-ia64/skas_ptrace.h with 100% similarity]
arch/um/sys-ia64/sysdep/syscalls.h [moved from arch/um/include/shared/sysdep-ia64/syscalls.h with 100% similarity]
arch/um/sys-ppc/sysdep/ptrace.h [moved from arch/um/include/shared/sysdep-ppc/ptrace.h with 100% similarity]
arch/um/sys-ppc/sysdep/sigcontext.h [moved from arch/um/include/shared/sysdep-ppc/sigcontext.h with 100% similarity]
arch/um/sys-ppc/sysdep/skas_ptrace.h [moved from arch/um/include/shared/sysdep-ppc/skas_ptrace.h with 100% similarity]
arch/um/sys-ppc/sysdep/syscalls.h [moved from arch/um/include/shared/sysdep-ppc/syscalls.h with 100% similarity]
arch/um/sys-x86_64/sysdep/archsetjmp.h [moved from arch/um/include/shared/sysdep-x86_64/archsetjmp.h with 100% similarity]
arch/um/sys-x86_64/sysdep/barrier.h [moved from arch/um/include/shared/sysdep-x86_64/barrier.h with 100% similarity]
arch/um/sys-x86_64/sysdep/checksum.h [moved from arch/um/include/shared/sysdep-x86_64/checksum.h with 100% similarity]
arch/um/sys-x86_64/sysdep/faultinfo.h [moved from arch/um/include/shared/sysdep-x86_64/faultinfo.h with 100% similarity]
arch/um/sys-x86_64/sysdep/host_ldt.h [moved from arch/um/include/shared/sysdep-x86_64/host_ldt.h with 100% similarity]
arch/um/sys-x86_64/sysdep/kernel-offsets.h [moved from arch/um/include/shared/sysdep-x86_64/kernel-offsets.h with 100% similarity]
arch/um/sys-x86_64/sysdep/ptrace.h [moved from arch/um/include/shared/sysdep-x86_64/ptrace.h with 100% similarity]
arch/um/sys-x86_64/sysdep/ptrace_user.h [moved from arch/um/include/shared/sysdep-x86_64/ptrace_user.h with 100% similarity]
arch/um/sys-x86_64/sysdep/sc.h [moved from arch/um/include/shared/sysdep-x86_64/sc.h with 100% similarity]
arch/um/sys-x86_64/sysdep/sigcontext.h [moved from arch/um/include/shared/sysdep-x86_64/sigcontext.h with 100% similarity]
arch/um/sys-x86_64/sysdep/skas_ptrace.h [moved from arch/um/include/shared/sysdep-x86_64/skas_ptrace.h with 100% similarity]
arch/um/sys-x86_64/sysdep/stub.h [moved from arch/um/include/shared/sysdep-x86_64/stub.h with 100% similarity]
arch/um/sys-x86_64/sysdep/syscalls.h [moved from arch/um/include/shared/sysdep-x86_64/syscalls.h with 100% similarity]
arch/um/sys-x86_64/sysdep/system.h [moved from arch/um/include/shared/sysdep-x86_64/system.h with 100% similarity]
arch/um/sys-x86_64/sysdep/tls.h [moved from arch/um/include/shared/sysdep-x86_64/tls.h with 100% similarity]
arch/um/sys-x86_64/sysdep/vm-flags.h [moved from arch/um/include/shared/sysdep-x86_64/vm-flags.h with 100% similarity]

index 3af8c81..2e042b0 100644 (file)
@@ -27,7 +27,7 @@ SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$
 #
 # These are cleaned up during mrproper. Please DO NOT fix it again, this is
 # the Correct Thing(tm) to do!
-ARCH_SYMLINKS = $(ARCH_DIR)/include/shared/sysdep $(ARCH_DIR)/os \
+ARCH_SYMLINKS = $(ARCH_DIR)/os \
        $(SYMLINK_HEADERS) $(ARCH_DIR)/include/shared/uml-config.h
 
 MODE_INCLUDE   += -I$(srctree)/$(ARCH_DIR)/include/shared/skas
@@ -39,7 +39,7 @@ ifneq ($(KBUILD_SRC),)
 ARCH_INCLUDE   += -I$(srctree)/$(ARCH_DIR)/include/shared
 KBUILD_CPPFLAGS        += -I$(ARCH_DIR)/include # for SYMLINK_HEADERS
 endif
-SYS_DIR                := $(ARCH_DIR)/include/shared/sysdep-$(SUBARCH)
+ARCH_INCLUDE   += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH) # for sysdep
 
 # -Dvmap=kernel_vmap prevents anything from referencing the libpcap.o symbol so
 # named - it's a common symbol in libpcap, so we get a binary which crashes.
@@ -157,14 +157,6 @@ $(objtree)/$(ARCH_DIR)/include/shared:
        @echo '  MKDIR $@'
        $(Q)mkdir -p $@
 
-$(ARCH_DIR)/include/shared/sysdep: $(objtree)/$(ARCH_DIR)/include/shared
-       @echo '  SYMLINK $@'
-ifneq ($(KBUILD_SRC),)
-       $(Q)ln -fsn $(srctree)/$(ARCH_DIR)/include/shared/sysdep-$(SUBARCH) $@
-else
-       $(Q)ln -fsn sysdep-$(SUBARCH) $@
-endif
-
 $(ARCH_DIR)/os:
        @echo '  SYMLINK $@'
 ifneq ($(KBUILD_SRC),)