]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION
authorNathan Chancellor <nathan@kernel.org>
Mon, 7 Feb 2022 15:15:14 +0000 (15:15 +0000)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 11 Feb 2022 10:59:44 +0000 (11:59 +0100)
commitcfa84bb85cfacaad1439d7898970e59a06c60daf
tree2c1c25c9638366d19a41cd9c4c02f7d600cdb14a
parentf043316e57186e435c1161c91ac81c35a32e3230
lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION

Now that CONFIG_PAHOLE_VERSION exists, use it in the definition of
CONFIG_PAHOLE_HAS_SPLIT_BTF and CONFIG_PAHOLE_HAS_BTF_TAG to reduce the
amount of duplication across the tree.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220201205624.652313-5-nathan@kernel.org
(cherry picked from bpf-next commit 6323c81350b73a4569cf52df85f80273faa64071)
(conflicts did not apply PAHOLE_HAS_BTF_TAG hunk as did not cherry-pick pre-req)
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
lib/Kconfig.debug