From: Andrew Morton Cc: Arjan van de Ven Signed-off-by: Andrew Morton --- lib/Kconfig.debug | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff -puN lib/Kconfig.debug~add-export_unused_symbol-and-export_unused_symbol_gpl-default lib/Kconfig.debug --- devel/lib/Kconfig.debug~add-export_unused_symbol-and-export_unused_symbol_gpl-default 2006-05-18 00:18:17.000000000 -0700 +++ devel-akpm/lib/Kconfig.debug 2006-05-18 00:18:17.000000000 -0700 @@ -25,17 +25,19 @@ config MAGIC_SYSRQ 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. + 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 DEBUG_KERNEL bool "Kernel debugging" _