diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 20:01:29 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 14:14:44 +0100 |
commit | 078073a3d48ce7c140f1538d249da3ac545065a6 (patch) | |
tree | 064e0baa9b1a6d97d5dbbbfae388a297303fba65 /arch/um/sys-x86_64 | |
parent | 4de1c5f65c7dd4965a2a58b93205b747d7826110 (diff) | |
download | linux-078073a3d48ce7c140f1538d249da3ac545065a6.tar.gz linux-078073a3d48ce7c140f1538d249da3ac545065a6.tar.bz2 linux-078073a3d48ce7c140f1538d249da3ac545065a6.zip |
um: -include user.h for USER_OBJ, trim includes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/sys-x86_64')
-rw-r--r-- | arch/um/sys-x86_64/Makefile | 2 | ||||
-rw-r--r-- | arch/um/sys-x86_64/shared/sysdep/stub.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/sys-x86_64/Makefile b/arch/um/sys-x86_64/Makefile index bd4d1d3ba919..097184660e8a 100644 --- a/arch/um/sys-x86_64/Makefile +++ b/arch/um/sys-x86_64/Makefile @@ -18,8 +18,8 @@ ldt-y = ../sys-i386/ldt.o USER_OBJS := ptrace_user.o -USER_OBJS += user-offsets.s extra-y += user-offsets.s +$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) UNPROFILE_OBJS := stub_segv.o CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING) diff --git a/arch/um/sys-x86_64/shared/sysdep/stub.h b/arch/um/sys-x86_64/shared/sysdep/stub.h index 3432aa249970..922a5702c8d8 100644 --- a/arch/um/sys-x86_64/shared/sysdep/stub.h +++ b/arch/um/sys-x86_64/shared/sysdep/stub.h @@ -11,7 +11,6 @@ #include <sysdep/ptrace_user.h> #include "as-layout.h" #include "stub-data.h" -#include "kern_constants.h" extern void stub_segv_handler(int sig); extern void stub_clone_handler(void); |