Re: [PATCH 2/5] ACPI: Reorder IPMI driver before any other ACPIdrivers

From: Andrew Morton
Date: Mon Oct 22 2012 - 20:06:58 EST


On Tue, 23 Oct 2012 01:00:34 +0100
Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:

> On Mon, Oct 22, 2012 at 04:45:38PM -0700, Andrew Morton wrote:
>
> > Relying upon link ordering is the old-fashioned way of doing things,
> > and I have vague memories that it only works by luck - that there's no
> > hard-and-fast rule that the linker has to obey what we think we asked
> > it to do.
> >
> > The usual way of doing this sort of thing is to use the initcall
> > priority levels - core_initcall(), postcore_initcall(), etc. Can that
> > be done here?
>
> Not really - some of this code can be built as modules, so it's mostly
> module_init rather than anything from the initcall family.
>

hm. So the ACPI code has found a way to defeat depmod?
--
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/