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