Re: modpost warning question

From: Benjamin Herrenschmidt
Date: Wed Jul 25 2007 - 03:55:34 EST


On Wed, 2007-07-25 at 02:14 -0500, Kumar Gala wrote:
> I'm seeing the following warning:
>
> WARNING: vmlinux.o(.init.text+0x1acdc): Section mismatch: reference to
> .exit.text:gfar_mdio_exit (between 'gfar_init' and 'gfar_mdio_init')
>
> I don't understand why its not ok to access .exit.text from .init.text
>
> The following addresses the issue, however I don't particularly like it:

Because exit.text is removed when compiling built-in

Ben.


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