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

From: Grant Grundler
Date: Wed Oct 01 2008 - 02:13:57 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/