public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] cgroup: annotate cgroup_init_subsys with __init
@ 2008-03-10  7:29 Li Zefan
  0 siblings, 0 replies; only message in thread
From: Li Zefan @ 2008-03-10  7:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Paul Menage, LKML

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>
---
 kernel/cgroup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index e9c2fb0..8d833b6 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -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 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-10  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10  7:29 [PATCH 1/2] cgroup: annotate cgroup_init_subsys with __init Li Zefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox