Re: [2.5.19] Oops during PCI scan on Alpha

From: Patrick Mochel (mochel@osdl.org)
Date: Tue Jun 04 2002 - 16:29:21 EST


On Tue, 4 Jun 2002, David S. Miller wrote:

> 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.

Ok, how about just keeping it a subsys_initcall, like it was in the first
place?

        -pat

-
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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:22 EST