Skip to content

Commit

Permalink
kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMS
Browse files Browse the repository at this point in the history
This reverts the following two commits:

  - a555bdd ("Kbuild: enable TRIM_UNUSED_KSYMS again, with some guarding")
  - 5cf0fd5 ("Kbuild: disable TRIM_UNUSED_KSYMS option")

Commit 5e9e95c ("kbuild: implement CONFIG_TRIM_UNUSED_KSYMS without
recursion") solved the build time issue.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed Feb 20, 2024
1 parent ec923ea commit d2d5cba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/module/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2d5cba

Please sign in to comment.