aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2008-07-22 20:24:26 -0400
committerRusty Russell <rusty@rustcorp.com.au>2008-07-22 05:24:27 -0400
commitf7f5b67557eac1131ba6532522e3c50eced34238 (patch)
tree8547b900f4bc40f69673c78b261ac5b44423fbfb /init/Kconfig
parentaf5406895a05720a879dc33e2f4878fa503e81b3 (diff)
Shrink struct module: CONFIG_UNUSED_SYMBOLS ifdefs
module.c and module.h conatains code for finding exported symbols which are declared with EXPORT_UNUSED_SYMBOL, and this code is compiled in even if CONFIG_UNUSED_SYMBOLS is not set and thus there can be no EXPORT_UNUSED_SYMBOLs in modules anyway (because EXPORT_UNUSED_SYMBOL(x) are compiled out to nothing then). This patch adds required #ifdefs. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 6199d1120900..c8578f9ee31d 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -856,8 +856,8 @@ config MODULE_UNLOAD
856 help 856 help
857 Without this option you will not be able to unload any 857 Without this option you will not be able to unload any
858 modules (note that some modules may not be unloadable 858 modules (note that some modules may not be unloadable
859 anyway), which makes your kernel slightly smaller and 859 anyway), which makes your kernel smaller, faster
860 simpler. If unsure, say Y. 860 and simpler. If unsure, say Y.
861 861
862config MODULE_FORCE_UNLOAD 862config MODULE_FORCE_UNLOAD
863 bool "Forced module unloading" 863 bool "Forced module unloading"