diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-18 01:33:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-18 01:33:57 -0500 |
commit | 05705e4e1158ad2c1a22817f27d91ff0758fd0a9 (patch) | |
tree | 5c1607c615c9c1582305751340456a022a97df63 /net/netlabel/netlabel_domainhash.c | |
parent | 227c43c3bca76df704231324405980851dc7f528 (diff) |
[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_domainhash.c')
-rw-r--r-- | net/netlabel/netlabel_domainhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/netlabel_domainhash.c b/net/netlabel/netlabel_domainhash.c index fd462313471c..02c2f7c0b255 100644 --- a/net/netlabel/netlabel_domainhash.c +++ b/net/netlabel/netlabel_domainhash.c | |||
@@ -171,7 +171,7 @@ static struct netlbl_dom_map *netlbl_domhsh_search_def(const char *domain) | |||
171 | * values on error. | 171 | * values on error. |
172 | * | 172 | * |
173 | */ | 173 | */ |
174 | int netlbl_domhsh_init(u32 size) | 174 | int __init netlbl_domhsh_init(u32 size) |
175 | { | 175 | { |
176 | u32 iter; | 176 | u32 iter; |
177 | struct netlbl_domhsh_tbl *hsh_tbl; | 177 | struct netlbl_domhsh_tbl *hsh_tbl; |