diff options
Diffstat (limited to 'net/ipv4/tcp_memcontrol.c')
-rw-r--r-- | net/ipv4/tcp_memcontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_memcontrol.c b/net/ipv4/tcp_memcontrol.c index f7e522c558ba..d4f015ad6c84 100644 --- a/net/ipv4/tcp_memcontrol.c +++ b/net/ipv4/tcp_memcontrol.c | |||
@@ -103,7 +103,7 @@ static int tcp_update_limit(struct mem_cgroup *memcg, u64 val) | |||
103 | } | 103 | } |
104 | 104 | ||
105 | static int tcp_cgroup_write(struct cgroup_subsys_state *css, struct cftype *cft, | 105 | static int tcp_cgroup_write(struct cgroup_subsys_state *css, struct cftype *cft, |
106 | const char *buffer) | 106 | char *buffer) |
107 | { | 107 | { |
108 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); | 108 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); |
109 | unsigned long long val; | 109 | unsigned long long val; |
@@ -219,7 +219,7 @@ static struct cftype tcp_files[] = { | |||
219 | 219 | ||
220 | static int __init tcp_memcontrol_init(void) | 220 | static int __init tcp_memcontrol_init(void) |
221 | { | 221 | { |
222 | WARN_ON(cgroup_add_cftypes(&mem_cgroup_subsys, tcp_files)); | 222 | WARN_ON(cgroup_add_cftypes(&memory_cgrp_subsys, tcp_files)); |
223 | return 0; | 223 | return 0; |
224 | } | 224 | } |
225 | __initcall(tcp_memcontrol_init); | 225 | __initcall(tcp_memcontrol_init); |