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

From: tip-bot for Li Zefan
Date: Fri Feb 21 2014 - 16:33:30 EST


Commit-ID: 6bd5d275ea039721f6fd382a15dc6adc949c77ec
Gitweb: http://git.kernel.org/tip/6bd5d275ea039721f6fd382a15dc6adc949c77ec
Author: Li Zefan <lizefan@xxxxxxxxxx>
AuthorDate: Sat, 8 Feb 2014 14:17:45 +0800
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Fri, 21 Feb 2014 21:43:19 +0100

sched/rt: Make init_sched_rt_calss() __init

It's a bootstrap function.

Cc: Ingo Molnar <mingo@xxxxxxxxxx>
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>
---
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 b22a090..0160887 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1857,7 +1857,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/