diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 66c1e3b5c0f2..835ae29e4ea2 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -5349,19 +5349,15 @@ static struct cftype debug_files[] = { | |||
5349 | .name = "releasable", | 5349 | .name = "releasable", |
5350 | .read_u64 = releasable_read, | 5350 | .read_u64 = releasable_read, |
5351 | }, | 5351 | }, |
5352 | }; | ||
5353 | 5352 | ||
5354 | static int debug_populate(struct cgroup_subsys *ss, struct cgroup *cont) | 5353 | { } /* terminate */ |
5355 | { | 5354 | }; |
5356 | return cgroup_add_files(cont, ss, debug_files, | ||
5357 | ARRAY_SIZE(debug_files)); | ||
5358 | } | ||
5359 | 5355 | ||
5360 | struct cgroup_subsys debug_subsys = { | 5356 | struct cgroup_subsys debug_subsys = { |
5361 | .name = "debug", | 5357 | .name = "debug", |
5362 | .create = debug_create, | 5358 | .create = debug_create, |
5363 | .destroy = debug_destroy, | 5359 | .destroy = debug_destroy, |
5364 | .populate = debug_populate, | ||
5365 | .subsys_id = debug_subsys_id, | 5360 | .subsys_id = debug_subsys_id, |
5361 | .base_cftypes = debug_files, | ||
5366 | }; | 5362 | }; |
5367 | #endif /* CONFIG_CGROUP_DEBUG */ | 5363 | #endif /* CONFIG_CGROUP_DEBUG */ |