[tip:sched/core] sched/rt: Make init_sched_rt_calss() __init

From: tip-bot for Li Zefan
Date: Sat Feb 22 2014 - 13:03:55 EST


Commit-ID: 11c785b79ef2a669e4bf7be5cf2c3904b8fed015
Gitweb: http://git.kernel.org/tip/11c785b79ef2a669e4bf7be5cf2c3904b8fed015
Author: Li Zefan <lizefan@xxxxxxxxxx>
AuthorDate: Sat, 8 Feb 2014 14:17:45 +0800
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Sat, 22 Feb 2014 18:11:10 +0100

sched/rt: Make init_sched_rt_calss() __init

It's a bootstrap function.

Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
Signed-off-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/52F5CC09.1080502@xxxxxxxxxx
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
kernel/sched/rt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 3e488ca..4d4b386 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1849,7 +1849,7 @@ static void switched_from_rt(struct rq *rq, struct task_struct *p)
resched_task(rq->curr);
}

-void init_sched_rt_class(void)
+void __init init_sched_rt_class(void)
{
unsigned int i;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/