diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-01 18:27:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-01 15:41:14 -0400 |
commit | 47d7a88c188f06ffaea3a539f84fe10cb4e77787 (patch) | |
tree | dbca8a37c6cac27b52be0665d54f8232f1b76041 /net/ipv4 | |
parent | ee7a1beb9759c94aea67dd887faf5e447a5c6710 (diff) | |
download | op-kernel-dev-47d7a88c188f06ffaea3a539f84fe10cb4e77787.zip op-kernel-dev-47d7a88c188f06ffaea3a539f84fe10cb4e77787.tar.gz |
tcp: add __init to tcp_init_mem
tcp_init_mem is only called by __init tcp_init.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index cf5e508..5c17034 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3172,7 +3172,7 @@ static int __init set_thash_entries(char *str) } __setup("thash_entries=", set_thash_entries); -static void tcp_init_mem(void) +static void __init tcp_init_mem(void) { unsigned long limit = nr_free_buffer_pages() / 8; limit = max(limit, 128UL); |