Messages in this thread Patch in this message | | | From | Hans de Goede <> | Subject | [PATCH v4 1/2] x86/purgatory: Fix missing ftrace_likely_update symbol | Date | Wed, 11 Mar 2020 22:46:00 +0100 |
| |
Fix the purgatory code having a (silent, not reported) missing symbol reference to ftrace_likely_update when CONFIG_TRACE_BRANCH_PROFILING is enabled.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- Changes in v4: -This is a new patch in v4 of this series --- arch/x86/purgatory/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/purgatory/Makefile b/arch/x86/purgatory/Makefile index fb4ee5444379..c1bd85d6392d 100644 --- a/arch/x86/purgatory/Makefile +++ b/arch/x86/purgatory/Makefile @@ -25,7 +25,7 @@ KCOV_INSTRUMENT := n PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel PURGATORY_CFLAGS := -mcmodel=large -ffreestanding -fno-zero-initialized-in-bss -PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) +PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) -DDISABLE_BRANCH_PROFILING # Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. That # in turn leaves some undefined symbols like __fentry__ in purgatory and not -- 2.25.1
| |