diff options
author | Eric Andersen | 2002-04-06 05:17:57 +0000 |
---|---|---|
committer | Eric Andersen | 2002-04-06 05:17:57 +0000 |
commit | fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1 (patch) | |
tree | b692176a654613bb68ca37c42f88201aeb48d8ba /modutils | |
parent | 50e4d660ace54d8da2cb09d537138447a92c68bd (diff) | |
download | busybox-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.zip busybox-fcffa2cc1a0f11ea6a075dd37762ca5b543b55e1.tar.gz |
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/config.in | 6 | ||||
-rw-r--r-- | modutils/lsmod.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/modutils/config.in b/modutils/config.in index 802bcc1..f5256bb 100644 --- a/modutils/config.in +++ b/modutils/config.in @@ -20,5 +20,11 @@ if [ "$CONFIG_INSMOD" = "y" ]; then bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM fi +if [ "$CONFIG_LSMOD" = "y" ]; then + if [ "$CONFIG_FEATURE_NEW_MODULE_INTERFACE" = "y" ]; then + bool 'Support lsmod query_module interface (add 638 bytes)' CONFIG_FEATURE_QUERY_MODULE_INTERFACE + fi +fi + endmenu diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 7b6ad14..5cb585b 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -41,7 +41,7 @@ -#ifdef CONFIG_FEATURE_NEW_MODULE_INTERFACE +#ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE struct module_info { |