Skip to content

Commit d2d5cba

Browse files
committed
kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMS
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 <[email protected]>
1 parent ec923ea commit d2d5cba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/module/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,7 @@ config MODPROBE_PATH
362362
userspace can still load modules explicitly).
363363

364364
config TRIM_UNUSED_KSYMS
365-
bool "Trim unused exported kernel symbols" if EXPERT
366-
depends on !COMPILE_TEST
365+
bool "Trim unused exported kernel symbols"
367366
help
368367
The kernel and some modules make many symbols available for
369368
other modules to use via EXPORT_SYMBOL() and variants. Depending

0 commit comments

Comments
 (0)