diff options
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); |