diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 6f0ec679b02d..11876e415db3 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -2130,6 +2130,22 @@ config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS | |||
2130 | 2130 | ||
2131 | If unsure, say N. | 2131 | If unsure, say N. |
2132 | 2132 | ||
2133 | config UNUSED_SYMBOLS | ||
2134 | bool "Enable unused/obsolete exported symbols" | ||
2135 | default y if X86 | ||
2136 | help | ||
2137 | Unused but exported symbols make the kernel needlessly bigger. For | ||
2138 | that reason most of these unused exports will soon be removed. This | ||
2139 | option is provided temporarily to provide a transition period in case | ||
2140 | some external kernel module needs one of these symbols anyway. If you | ||
2141 | encounter such a case in your module, consider if you are actually | ||
2142 | using the right API. (rationale: since nobody in the kernel is using | ||
2143 | this in a module, there is a pretty good chance it's actually the | ||
2144 | wrong interface to use). If you really need the symbol, please send a | ||
2145 | mail to the linux kernel mailing list mentioning the symbol and why | ||
2146 | you really need it, and what the merge plan to the mainline kernel for | ||
2147 | your module is. | ||
2148 | |||
2133 | config TRIM_UNUSED_KSYMS | 2149 | config TRIM_UNUSED_KSYMS |
2134 | bool "Trim unused exported kernel symbols" | 2150 | bool "Trim unused exported kernel symbols" |
2135 | depends on !UNUSED_SYMBOLS | 2151 | depends on !UNUSED_SYMBOLS |