aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-04-29 04:00:07 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:09 -0400
commit06a119204d3e1e67d393e996ed987b0df7998381 (patch)
tree0cf3798102d13252d33c9907888a9608a0af6f96 /kernel/cgroup.c
parent06ecb27cfbf53ac2c7e397aa1619a6f9a98c5896 (diff)
cgroup: annotate cgroup_init_subsys with __init
It is called by cgroup_init() and cgroup_init_early() only, which are annotated with __init. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index bd6122ccc0ba..97ab04c3fcf5 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -2444,7 +2444,7 @@ static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry)
2444 return 0; 2444 return 0;
2445} 2445}
2446 2446
2447static void cgroup_init_subsys(struct cgroup_subsys *ss) 2447static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
2448{ 2448{
2449 struct cgroup_subsys_state *css; 2449 struct cgroup_subsys_state *css;
2450 struct list_head *l; 2450 struct list_head *l;