OSDN Git Service

sched/rt: Make init_sched_rt_calss() __init
authorLi Zefan <lizefan@huawei.com>
Sat, 8 Feb 2014 06:17:45 +0000 (14:17 +0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Feb 2014 17:11:10 +0000 (18:11 +0100)
It's a bootstrap function.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/52F5CC09.1080502@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/rt.c

index 3e488ca..4d4b386 100644 (file)
@@ -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;