mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[NET]: Move unneeded data to initdata section.
This patch reverts Eric's commit 2b008b0a8e
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ed160e839d
commit
022cbae611
6 changed files with 9 additions and 7 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue