Skip to content

Commit fe1072f

Browse files
committed
Merge tag 'clang-lto-v5.12-rc1-fix1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull clang LTO fixes from Kees Cook: "This gets parisc building again and moves LTO artifact caching cleanup from the 'distclean' build target to 'clean'. Summary: - Fix parisc build for ftrace vs mcount (Sami Tolvanen) - Move .thinlto-cache remove to "clean" from "distclean" (Masahiro Yamada)" * tag 'clang-lto-v5.12-rc1-fix1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: kbuild: Move .thinlto-cache removal to 'make clean' parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
2 parents 5c2e7a0 + 4c7858b commit fe1072f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ endif # CONFIG_MODULES
15101510
# Directories & files removed with 'make clean'
15111511
CLEAN_FILES += include/ksym vmlinux.symvers \
15121512
modules.builtin modules.builtin.modinfo modules.nsdeps \
1513-
compile_commands.json
1513+
compile_commands.json .thinlto-cache
15141514

15151515
# Directories & files removed with 'make mrproper'
15161516
MRPROPER_FILES += include/config include/generated \
@@ -1524,7 +1524,7 @@ MRPROPER_FILES += include/config include/generated \
15241524
*.spec
15251525

15261526
# Directories & files removed with 'make distclean'
1527-
DISTCLEAN_FILES += tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS .thinlto-cache
1527+
DISTCLEAN_FILES += tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS
15281528

15291529
# clean - Delete most, but leave enough to build external modules
15301530
#

‎arch/parisc/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ config PARISC
6161
select HAVE_KRETPROBES
6262
select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
6363
select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
64+
select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
6465
select HAVE_KPROBES_ON_FTRACE
6566
select HAVE_DYNAMIC_FTRACE_WITH_REGS
6667
select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS

0 commit comments

Comments
 (0)