modprobe: handle built-in modules
commit0e72912a1e0b486225f7052c8d40e28b07ff4495
authorMichal Marek <mmarek@suse.cz>
Wed, 15 Jul 2009 12:45:52 +0000 (15 14:45 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 15 Jul 2009 13:02:02 +0000 (15 15:02 +0200)
tree6239a0357f101ad635cb09d95c491f9683ea24ea
parent45c29de1b54478a63352a3f13c570a964903f54f
modprobe: handle built-in modules

The kernel installs a modules.builtin file listing all builtin
modules. Let depmod generate a modules.builtin.bin file and use
this in modprobe: If a module is not found in modules.dep or
modules.alias, check if the module is builtin and exit silently
in such case. It is done in this order to not slow down the
common case.

Signed-off-by: Michal Marek <mmarek@suse.cz>
depmod.c
modprobe.c