[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-0ca0873555c0abe17b28c25b19f82857c0ddd2bc@git.kernel.org>
Date: Fri, 7 Jan 2011 15:36:05 GMT
From: tip-bot for Yong Zhang <yong.zhang0@...il.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, efault@....de, yong.zhang0@...il.com,
tglx@...utronix.de, mingo@...e.hu
Subject: [tip:sched/urgent] sched: Mark autogroup_init() __init
Commit-ID: 0ca0873555c0abe17b28c25b19f82857c0ddd2bc
Gitweb: http://git.kernel.org/tip/0ca0873555c0abe17b28c25b19f82857c0ddd2bc
Author: Yong Zhang <yong.zhang0@...il.com>
AuthorDate: Fri, 7 Jan 2011 12:43:45 +0800
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Fri, 7 Jan 2011 15:54:36 +0100
sched: Mark autogroup_init() __init
autogroup_init() is only called at boot time.
Signed-off-by: Yong Zhang <yong.zhang0@...il.com>
Cc: Mike Galbraith <efault@....de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
LKML-Reference: <1294375425-31065-1-git-send-email-yong.zhang0@...il.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched_autogroup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_autogroup.c b/kernel/sched_autogroup.c
index e011e53..32a723b 100644
--- a/kernel/sched_autogroup.c
+++ b/kernel/sched_autogroup.c
@@ -9,7 +9,7 @@ unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
static struct autogroup autogroup_default;
static atomic_t autogroup_seq_nr;
-static void autogroup_init(struct task_struct *init_task)
+static void __init autogroup_init(struct task_struct *init_task)
{
autogroup_default.tg = &root_task_group;
root_task_group.autogroup = &autogroup_default;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists