Re: [PATCH] devexit fixes in i82092.c

Linus Torvalds (torvalds@transmeta.com)
Fri, 15 Mar 2002 17:00:44 -0800 (PST)


On Sat, 16 Mar 2002, Anders Gustafsson wrote:
>
> this patch fixes "undefined reference to `local symbols in discarded
> section .text.exit'" linking error.

Looking more at this, I actually think that the _real_ fix is to call all
drivers exit functions at kernel shutdown, and not discard the exit
section when linking into the tree.

That, together with the device tree, automatically gives us the
_correct_ shutdown sequence, soemthing we don't have right now.

Anybody willing to look into this, and get rid of that __devexit_p()
thing?

Linus

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