[NETLABEL]: Move some initialization code into __init section.
Everything that is called from netlbl_init() can be marked with __init. This moves 620 bytes from .text section to .text.init one. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Paul Moore <paul.moore@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
227c43c3bc
commit
05705e4e11
@@ -588,7 +588,7 @@ static struct genl_ops netlbl_mgmt_genl_ops[] = {
|
||||
* mechanism. Returns zero on success, negative values on failure.
|
||||
*
|
||||
*/
|
||||
int netlbl_mgmt_genl_init(void)
|
||||
int __init netlbl_mgmt_genl_init(void)
|
||||
{
|
||||
int ret_val, i;
|
||||
|
||||
|
Reference in New Issue
Block a user