author: Linus Torvalds <torvalds@linux-foundation.org> 2020-09-08 10:52:59 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-09-08 10:52:59 -0700
commit: 612ab8ad64140f0f291d7baae45982ce7119839a
parent: f4d51dffc6c01a9e94650d95ce0104964f8ae822
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ec2330ce0fc5..2b1061ec98ed 100644
--- a/Makefile
+++ b/Makefile
@@ -882,10 +882,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)