diff options
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 8331f2739e2c..b6b3c6fea509 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -7065,7 +7065,8 @@ __setup("swapaccount=", enable_swap_account); | |||
7065 | 7065 | ||
7066 | static void __init memsw_file_init(void) | 7066 | static void __init memsw_file_init(void) |
7067 | { | 7067 | { |
7068 | WARN_ON(cgroup_add_cftypes(&memory_cgrp_subsys, memsw_cgroup_files)); | 7068 | WARN_ON(cgroup_add_legacy_cftypes(&memory_cgrp_subsys, |
7069 | memsw_cgroup_files)); | ||
7069 | } | 7070 | } |
7070 | 7071 | ||
7071 | static void __init enable_swap_cgroup(void) | 7072 | static void __init enable_swap_cgroup(void) |