Skip to content

Commit 03c5c83

Browse files
author
Alexander Gordeev
committed
s390/purgatory: disable branch profiling
Avoid linker error for randomly generated config file that has CONFIG_BRANCH_PROFILE_NONE enabled and make it similar to riscv, x86 and also to commit 4bf3ec3 ("s390: disable branch profiling for vdso"). Reviewed-by: Vasily Gorbik <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 89c0c62 commit 03c5c83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/purgatory/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
2626
KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
2727
KBUILD_CFLAGS += -Os -m64 -msoft-float -fno-common
2828
KBUILD_CFLAGS += -fno-stack-protector
29+
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
2930
KBUILD_CFLAGS += $(CLANG_FLAGS)
3031
KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
3132
KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS))

0 commit comments

Comments
 (0)