summaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2014-02-08 07:17:45 +0100
committerIngo Molnar <mingo@kernel.org>2014-02-22 18:11:10 +0100
commit11c785b79ef2a669e4bf7be5cf2c3904b8fed015 (patch)
treecea3cbbd2612b66c0b77ce472fe50c37feba5032 /kernel/sched/rt.c
parentsched/rt: Remove 'leaf_rt_rq_list' from 'struct rq' (diff)
downloadlinux-11c785b79ef2a669e4bf7be5cf2c3904b8fed015.tar.xz
linux-11c785b79ef2a669e4bf7be5cf2c3904b8fed015.zip
sched/rt: Make init_sched_rt_calss() __init
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>
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r--kernel/sched/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 3e488ca6050d..4d4b386598aa 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;