Re: [PATCH] also discard .*init sections after moduleinitialization

From: Amerigo Wang
Date: Wed Jul 01 2009 - 03:26:47 EST


On Tue, Jun 30, 2009 at 12:57:26PM +0100, Jan Beulich wrote:
>Just like .init, these sections are supposed to be unneeded after init,
>and modpost warns about improper section references anyway. Likewise
>for .*exit which, other than .exit, aren't needed for the module unload
>path.
>

<snip>

>
>+bool is_init_section_name(const char *name)
>+{


According to your description, this function name
looks confusing... at least for me.
--
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/