Re: [2.5.19] Oops during PCI scan on Alpha

David S. Miller (davem@redhat.com)
Tue, 04 Jun 2002 14:23:12 -0700 (PDT)


From: Patrick Mochel <mochel@osdl.org>
Date: Tue, 4 Jun 2002 14:14:26 -0700 (PDT)

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/