Skip to contentSkip to conversation

cgroup: annotate cgroup_init_subsys with __init

PATCH In review Li Zefan 1 participant 1 message Mar 10, 2008

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/2 cgroup: annotate cgroup_init_subsys with __init

It is called by cgroup_init() and cgroup_init_early() only, which are annotated with __init.

---
 kernel/cgroup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cgroup.c +1 -1
index e9c2fb0..8d833b6 100644
@@ -2388,7 +2388,7 @@ static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry)
 	return 0;
 }
 
-static void cgroup_init_subsys(struct cgroup_subsys *ss)
+static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
 {
 	struct cgroup_subsys_state *css;
 	struct list_head *l;

-- 1.5.4.rc3