Re: The magical mystical changing ethernet interface order

Alan Cox (alan@lxorguk.ukuu.org.uk)
08 May 2003 15:55:31 +0100


On Iau, 2003-05-08 at 13:05, David S. Miller wrote:
> This is absolutely not guarenteed. The linker is at liberty to
> reorder objects in any order it so desires, for performance reasons
> etc.
>
> Any reliance on link ordering is broken and needs to be fixed.

That ahould keep you amused for a year or two. Unfortunately for the ISA
driver code we *have* to rely on link order or rip out the __init stuff
and use Space.c type hacks.

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