add module ordering support for binary indexes
commit503893a3b83b19d72f0cc9050c73f9b131fa3d6f
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 5 Feb 2009 18:56:16 +0000 (5 18:56 +0000)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 10 Feb 2009 15:15:33 +0000 (10 16:15 +0100)
treea41a78af18f829b85d1a961bb9a3206b4dba83ef
parent7c5676eb30e0e464f9e32a4dea24f9886924e6e1
add module ordering support for binary indexes

Tejun Heo added support to prioritize modules based
on their position in modules.order, in the same way
built-in drivers are prioritized by link order.
Unfortunately this didn't work by the time it was
applied, because we added fast binary indexes,
which did not preserve ordering.

This required a rethink of the index code.  Overall
it is now a few lines shorter and slightly easier
to understand.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
depmod.c
depmod.h
index.c
index.h
modindex.c
modprobe.c