Commit d2d5cba5 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMS



This reverts the following two commits:

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

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

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent ec923eaa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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