LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make cgroup_enable_task_cg_lists() static
@ 2008-02-13 21:30 Adrian Bunk
2008-02-13 21:32 ` David Rientjes
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
To: Cliff Wickman, David Rientjes; +Cc: linux-kernel
This patch makes the needlessly global cgroup_enable_task_cg_lists()
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
a9d039842fb8c3170e63d2eba3301cf9865a864e diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 4766bb6..0317f79 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1704,7 +1704,7 @@ static void cgroup_advance_iter(struct cgroup *cgrp,
* The tasklist_lock is not held here, as do_each_thread() and
* while_each_thread() are protected by RCU.
*/
-void cgroup_enable_task_cg_lists(void)
+static void cgroup_enable_task_cg_lists(void)
{
struct task_struct *p, *g;
write_lock(&css_set_lock);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make cgroup_enable_task_cg_lists() static
2008-02-13 21:30 [2.6 patch] make cgroup_enable_task_cg_lists() static Adrian Bunk
@ 2008-02-13 21:32 ` David Rientjes
0 siblings, 0 replies; 2+ messages in thread
From: David Rientjes @ 2008-02-13 21:32 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Cliff Wickman, linux-kernel
On Wed, 13 Feb 2008, Adrian Bunk wrote:
> This patch makes the needlessly global cgroup_enable_task_cg_lists()
> static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-13 21:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make cgroup_enable_task_cg_lists() static Adrian Bunk
2008-02-13 21:32 ` David Rientjes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).