]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMS
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 15 Feb 2024 14:15:01 +0000 (23:15 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 20 Feb 2024 14:06:38 +0000 (23:06 +0900)
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>
kernel/module/Kconfig

index 0ea1b2970a23b544cd6a91c0182fa63c9c98a02d..c3ced519e14ba44b15df3d9a42ecb0102b8e3cf6 100644 (file)
@@ -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