diff options
author | Denis V. Lunev <den@openvz.org> | 2007-11-13 06:23:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-13 06:23:50 -0500 |
commit | 022cbae611a37eda80d498f8f379794c8ac3be47 (patch) | |
tree | c6fe8fe45748127c916d32ec97601c435065d5cb /fs/proc | |
parent | ed160e839d2e1118529e58b04d52dba703ca629c (diff) |
[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 'fs/proc')
-rw-r--r-- | fs/proc/proc_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index 153554cf5575..131f9c68be5f 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c | |||
@@ -178,7 +178,7 @@ static __net_exit void proc_net_ns_exit(struct net *net) | |||
178 | kfree(net->proc_net_root); | 178 | kfree(net->proc_net_root); |
179 | } | 179 | } |
180 | 180 | ||
181 | static struct pernet_operations proc_net_ns_ops = { | 181 | static struct pernet_operations __net_initdata proc_net_ns_ops = { |
182 | .init = proc_net_ns_init, | 182 | .init = proc_net_ns_init, |
183 | .exit = proc_net_ns_exit, | 183 | .exit = proc_net_ns_exit, |
184 | }; | 184 | }; |