author: Josh Poimboeuf <jpoimboe@redhat.com> 2020-07-17 13:29:48 -0500
committer: Petr Mladek <pmladek@suse.com> 2020-09-03 11:24:27 +0200
commit: 318af7b80b6a6751520cf2b71edb8c45abb9d9d8
parent: 1e21b5c73912a516bb13aec0ff69205b0b33568f
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5cfc3481207f..f1763e4a312b 100644
--- a/Makefile
+++ b/Makefile
@@ -887,10 +887,6 @@ KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
LDFLAGS_vmlinux += --gc-sections
endif
-ifdef CONFIG_LIVEPATCH
-KBUILD_CFLAGS += $(call cc-option, -flive-patching=inline-clone)
-endif
-
ifdef CONFIG_SHADOW_CALL_STACK
CC_FLAGS_SCS := -fsanitize=shadow-call-stack
KBUILD_CFLAGS += $(CC_FLAGS_SCS)