summaryrefslogtreecommitdiffstats
path: root/kernel/module
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-15 23:15:01 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 23:06:38 +0900
commitd2d5cba5d92c4ed23caa86228a1bc31b07e90fe9 (patch)
tree3cbbbd48d6d79222851d64cc2607ba3cab7d3cfb /kernel/module
parentec923eaa1d3ff7a544eeb0fa282daeaeaa911cbf (diff)
downloadlinux-d2d5cba5d92c4ed23caa86228a1bc31b07e90fe9.tar.gz
linux-d2d5cba5d92c4ed23caa86228a1bc31b07e90fe9.tar.bz2
linux-d2d5cba5d92c4ed23caa86228a1bc31b07e90fe9.zip
kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMS
This reverts the following two commits: - a555bdd0c58c ("Kbuild: enable TRIM_UNUSED_KSYMS again, with some guarding") - 5cf0fd591f2e ("Kbuild: disable TRIM_UNUSED_KSYMS option") Commit 5e9e95cc9148 ("kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without recursion") solved the build time issue. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'kernel/module')
-rw-r--r--kernel/module/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/module/Kconfig b/kernel/module/Kconfig
index 0ea1b2970a23..c3ced519e14b 100644
--- a/kernel/module/Kconfig
+++ b/kernel/module/Kconfig
@@ -362,8 +362,7 @@ config MODPROBE_PATH
userspace can still load modules explicitly).
config TRIM_UNUSED_KSYMS
- bool "Trim unused exported kernel symbols" if EXPERT
- depends on !COMPILE_TEST
+ bool "Trim unused exported kernel symbols"
help
The kernel and some modules make many symbols available for
other modules to use via EXPORT_SYMBOL() and variants. Depending