Re: Can no longer build ipv6 built-in (2.6.11, today's BK head)

From: Herbert Xu
Date: Wed Mar 16 2005 - 04:47:45 EST


On Tue, Mar 15, 2005 at 08:06:51PM -0800, David S. Miller wrote:
> On Wed, 16 Mar 2005 14:53:29 +1100
> Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx> wrote:
>
> > A simple fix is to delete the __exit from the various functions now that
> > they're called other than at module_exit.
> >
> > Signed-off-by: Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx>
>
> Applied, thanks Peter.

Thanks guys.

Calling an __exit function from an __init function is actually fairly
common. I wonder if it would be useful to have an __initexit marker
that gets dropped when both __init and __exit would be dropped.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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/