]> git.proxmox.com Git - pve-kernel.git/blame - patches/kernel/0009-disable-split-btf.patch
patches: make disable split btf diff a full-blown patch
[pve-kernel.git] / patches / kernel / 0009-disable-split-btf.patch
CommitLineData
818dfcea
TL
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3Date: Thu, 14 Sep 2017 11:09:58 +0200
4Subject: do not generate split BTF type info per default
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This reverts commit a8ed1a0607cfa5478ff6009539f44790c4d0956d.
10
11It breaks ZFS sometimes:
12https://github.com/openzfs/zfs/issues/12301#issuecomment-873303739
13
14Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15---
bc1d1913
FG
16diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
17index 25dc20175bba..7ff51a3f65e6 100644
18--- a/lib/Kconfig.debug
19+++ b/lib/Kconfig.debug
20@@ -314,7 +314,7 @@ config PAHOLE_HAS_SPLIT_BTF
21 def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
22
23 config DEBUG_INFO_BTF_MODULES
24- def_bool y
25+ def_bool n
26 depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
27 help
28 Generate compact split BTF type information for kernel modules.