On Tue, 4 Jun 2002, David S. Miller wrote:
> Does sys_bus_init require the generic bus layer to be initialized
> first?
Yes, and it is in drivers/base/bus.c just before sys_bus_init is called.
Linkers are allowed to reorder object files unless you tell them
explicitly not to.
This is why you need to put this stuff into a seperate initcall level.
This is precisely why I suggest postcore_initcall as the fix.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/