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-i386 | |
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-i386')
-rw-r--r-- | arch/um/sys-i386/Makefile | 2 | ||||
-rw-r--r-- | arch/um/sys-i386/bugs.c | 2 | ||||
-rw-r--r-- | arch/um/sys-i386/shared/sysdep/stub.h | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile index e5e56d76dec3..231bb983a121 100644 --- a/arch/um/sys-i386/Makefile +++ b/arch/um/sys-i386/Makefile @@ -15,8 +15,8 @@ subarch-obj-$(CONFIG_MODULES) += kernel/module.o USER_OBJS := bugs.o ptrace_user.o fault.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-i386/bugs.c b/arch/um/sys-i386/bugs.c index 2c6d0d731c12..7058e1fa903b 100644 --- a/arch/um/sys-i386/bugs.c +++ b/arch/um/sys-i386/bugs.c @@ -4,11 +4,9 @@ */ #include <signal.h> -#include "kern_constants.h" #include "kern_util.h" #include "longjmp.h" #include "task.h" -#include "user.h" #include "sysdep/ptrace.h" /* Set during early boot */ diff --git a/arch/um/sys-i386/shared/sysdep/stub.h b/arch/um/sys-i386/shared/sysdep/stub.h index 977dedd9221b..cca14d4ddf52 100644 --- a/arch/um/sys-i386/shared/sysdep/stub.h +++ b/arch/um/sys-i386/shared/sysdep/stub.h @@ -11,7 +11,6 @@ #include <asm/unistd.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); |