author: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-23 10:15:33 -0800
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-23 10:15:33 -0800
commit: 21a6ab2131ab0644eeef70507e20273338bf065c
parent: 74268693e0f751381688743a48e37cf63a45deef
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 17 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 57f859ea79b9..8a2c0e41f1bb 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2272,25 +2272,8 @@ config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
If unsure, say N.
-config UNUSED_SYMBOLS
- bool "Enable unused/obsolete exported symbols"
- default y if X86
- help
- Unused but exported symbols make the kernel needlessly bigger. For
- that reason most of these unused exports will soon be removed. This
- option is provided temporarily to provide a transition period in case
- some external kernel module needs one of these symbols anyway. If you
- encounter such a case in your module, consider if you are actually
- using the right API. (rationale: since nobody in the kernel is using
- this in a module, there is a pretty good chance it's actually the
- wrong interface to use). If you really need the symbol, please send a
- mail to the linux kernel mailing list mentioning the symbol and why
- you really need it, and what the merge plan to the mainline kernel for
- your module is.
-
config TRIM_UNUSED_KSYMS
bool "Trim unused exported kernel symbols"
- depends on !UNUSED_SYMBOLS
help
The kernel and some modules make many symbols available for
other modules to use via EXPORT_SYMBOL() and variants. Depending