summaryrefslogtreecommitdiffstats
path: root/lib/livepatch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/livepatch/Makefile')
-rw-r--r--lib/livepatch/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/livepatch/Makefile b/lib/livepatch/Makefile
index 295b94bff370..9abdf615b088 100644
--- a/lib/livepatch/Makefile
+++ b/lib/livepatch/Makefile
@@ -2,6 +2,8 @@
#
# Makefile for livepatch test code.
+ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
+
obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
test_klp_callbacks_demo.o \
test_klp_callbacks_demo2.o \