Skip to content

Commit

Permalink
um: merge arch/um/sys-{i386,x86_64}/shared
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 27f85f1 commit 858ba94
Show file tree
Hide file tree
Showing 39 changed files with 61 additions and 134 deletions.
3 changes: 1 addition & 2 deletions arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH)

SHARED_HEADERS := $(ARCH_DIR)/include/shared
ARCH_INCLUDE := -I$(srctree)/$(SHARED_HEADERS)
ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH)/shared
ARCH_INCLUDE += -I$(srctree)/$(ARCH_DIR)/sys-$(HEADER_ARCH)/shared
KBUILD_CPPFLAGS += -I$(srctree)/$(ARCH_DIR)/sys-$(HEADER_ARCH)
KBUILD_CPPFLAGS += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH)

# -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.
Expand Down
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/archsetjmp.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "archsetjmp_32.h"
#else
#include "archsetjmp_64.h"
#endif
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/barrier.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "barrier_32.h"
#else
#include "barrier_64.h"
#endif
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/faultinfo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "faultinfo_32.h"
#else
#include "faultinfo_64.h"
#endif
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/host_ldt.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "host_ldt_32.h"
#else
#include "host_ldt_64.h"
#endif
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/kernel-offsets.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "kernel-offsets_32.h"
#else
#include "kernel-offsets_64.h"
#endif
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/ptrace.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "ptrace_32.h"
#else
#include "ptrace_64.h"
#endif
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/ptrace_user.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "ptrace_user_32.h"
#else
#include "ptrace_user_64.h"
#endif
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/sigcontext.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "sigcontext_32.h"
#else
#include "sigcontext_64.h"
#endif
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/skas_ptrace.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "skas_ptrace_32.h"
#else
#include "skas_ptrace_64.h"
#endif
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/stub.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "stub_32.h"
#else
#include "stub_64.h"
#endif
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/syscalls.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "syscalls_32.h"
#else
#include "syscalls_64.h"
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions arch/um/sys-x86/shared/sysdep/tls.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef __i386__
#include "tls_32.h"
#else
#include "tls_64.h"
#endif
File renamed without changes.
File renamed without changes.
132 changes: 0 additions & 132 deletions arch/um/sys-x86_64/shared/sysdep/system.h

This file was deleted.

0 comments on commit 858ba94

Please sign in to comment.