summaryrefslogtreecommitdiffstats
path: root/include/net/tcp_memcontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp_memcontrol.h')
-rw-r--r--include/net/tcp_memcontrol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/tcp_memcontrol.h b/include/net/tcp_memcontrol.h
index 05b94d9453de..01ff7c6efada 100644
--- a/include/net/tcp_memcontrol.h
+++ b/include/net/tcp_memcontrol.h
@@ -1,7 +1,9 @@
#ifndef _TCP_MEMCG_H
#define _TCP_MEMCG_H
-struct cg_proto *tcp_proto_cgroup(struct mem_cgroup *memcg);
+struct cgroup_subsys;
+struct mem_cgroup;
+
int tcp_init_cgroup(struct mem_cgroup *memcg, struct cgroup_subsys *ss);
void tcp_destroy_cgroup(struct mem_cgroup *memcg);
#endif /* _TCP_MEMCG_H */