aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2014-02-08 14:17:45 +0800
committerIngo Molnar <[email protected]>2014-02-22 18:11:10 +0100
commit11c785b79ef2a669e4bf7be5cf2c3904b8fed015 (patch)
treecea3cbbd2612b66c0b77ce472fe50c37feba5032
parentd82fd25356b902703152c1800845661835541878 (diff)
sched/rt: Make init_sched_rt_calss() __init
It's a bootstrap function. Signed-off-by: Li Zefan <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
-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;