Re: [patch 2/2] PNP: don't check disabled PCI BARs for conflicts in quirk_system_pci_resources()

Grant Grundler
2008-10-01T06:13:28Z

On Tue, Sep 30, 2008 at 12:51:07PM -0700, Linus Torvalds wrote:
....
> But I think we could add a separate notion of a dependancy point, and have
> a setup where we describe "initcall X needs to happen before point A" and
> "initcall Z needs to happen after point A".
>
> And then we can create a separate set of these dependency points, so that
> X and Y don't have to know about each other, they just have to have some
> knowledge about some common synchronization point - one that exists
> regardless of whether X or Y are even compiled in!

We already do this today. :)
Definitions are in include/linux/init.h.
Point A would be "early" ("run before initialing SMP")
The rest could use better definitions and AFAICT aren't that much better
than being named "Point B".

hth,
grant