summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-06 05:17:57 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-06 05:17:57 +0000
commitfcffa2cc1a0f11ea6a075dd37762ca5b543b55e1 (patch)
treeb692176a654613bb68ca37c42f88201aeb48d8ba /modutils
parent50e4d660ace54d8da2cb09d537138447a92c68bd (diff)
downloadbusybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.tar.gz
busybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.tar.bz2
busybox-w32-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.zip
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
Diffstat (limited to 'modutils')
-rw-r--r--modutils/config.in6
-rw-r--r--modutils/lsmod.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/modutils/config.in b/modutils/config.in
index 802bcc1e0..f5256bb1f 100644
--- a/modutils/config.in
+++ b/modutils/config.in
@@ -20,5 +20,11 @@ if [ "$CONFIG_INSMOD" = "y" ]; then
20 bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM 20 bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM
21fi 21fi
22 22
23if [ "$CONFIG_LSMOD" = "y" ]; then
24 if [ "$CONFIG_FEATURE_NEW_MODULE_INTERFACE" = "y" ]; then
25 bool 'Support lsmod query_module interface (add 638 bytes)' CONFIG_FEATURE_QUERY_MODULE_INTERFACE
26 fi
27fi
28
23endmenu 29endmenu
24 30
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 7b6ad14c6..5cb585bab 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -41,7 +41,7 @@
41 41
42 42
43 43
44#ifdef CONFIG_FEATURE_NEW_MODULE_INTERFACE 44#ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE
45 45
46struct module_info 46struct module_info
47{ 47{