summaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_user.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-02-18 07:33:57 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-18 07:33:57 +0100
commit05705e4e1158ad2c1a22817f27d91ff0758fd0a9 (patch)
tree5c1607c615c9c1582305751340456a022a97df63 /net/netlabel/netlabel_user.c
parent[NETLABEL]: Shrink the genl-ops registration code. (diff)
downloadlinux-05705e4e1158ad2c1a22817f27d91ff0758fd0a9.tar.xz
linux-05705e4e1158ad2c1a22817f27d91ff0758fd0a9.zip
[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>
Diffstat (limited to 'net/netlabel/netlabel_user.c')
-rw-r--r--net/netlabel/netlabel_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/netlabel_user.c b/net/netlabel/netlabel_user.c
index 023fc8fe840d..b17d4203806e 100644
--- a/net/netlabel/netlabel_user.c
+++ b/net/netlabel/netlabel_user.c
@@ -59,7 +59,7 @@
* non-zero on failure.
*
*/
-int netlbl_netlink_init(void)
+int __init netlbl_netlink_init(void)
{
int ret_val;