diff options
author | Denis V. Lunev <den@openvz.org> | 2007-11-13 03:23:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-13 03:23:50 -0800 |
commit | 022cbae611a37eda80d498f8f379794c8ac3be47 (patch) | |
tree | c6fe8fe45748127c916d32ec97601c435065d5cb /net/netlink | |
parent | ed160e839d2e1118529e58b04d52dba703ca629c (diff) | |
download | blackbird-op-linux-022cbae611a37eda80d498f8f379794c8ac3be47.tar.gz blackbird-op-linux-022cbae611a37eda80d498f8f379794c8ac3be47.zip |
[NET]: Move unneeded data to initdata section.
This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35
It diets .text & .data section of the kernel if CONFIG_NET_NS is not set.
This is safe after list operations cleanup.
Signed-of-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 415c97236f63..de3988ba1f46 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -1888,7 +1888,7 @@ static void __net_exit netlink_net_exit(struct net *net) #endif } -static struct pernet_operations netlink_net_ops = { +static struct pernet_operations __net_initdata netlink_net_ops = { .init = netlink_net_init, .exit = netlink_net_exit, }; |