modprobe-small: make insmod command line compatible

function                                             old     new   delta
modprobe_main                                        326     435    +109
moderror                                               -      52     +52
process_module                                       577     530     -47
This commit is contained in:
Denis Vlasenko
2008-09-06 14:14:01 +00:00
parent 4acb1b0793
commit 1c781cc8ff
2 changed files with 27 additions and 6 deletions

View File

@@ -20,7 +20,9 @@
#include <linux/if_ether.h>
#endif
#if !ENABLE_WERROR
#warning de-bloat
#endif
/* Before re-enabling this, please (1) conditionalize exotic protocols
* on CONFIG_something, and (2) decouple strings and numbers
* (use llproto_ids[] = n,n,n..; and llproto_names[] = "loop\0" "pup\0" ...;)