diff options
author | Li Zefan <lizefan@huawei.com> | 2014-02-08 10:17:45 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-22 21:11:10 +0400 |
commit | 11c785b79ef2a669e4bf7be5cf2c3904b8fed015 (patch) | |
tree | cea3cbbd2612b66c0b77ce472fe50c37feba5032 /kernel/sched/rt.c | |
parent | d82fd25356b902703152c1800845661835541878 (diff) | |
download | linux-11c785b79ef2a669e4bf7be5cf2c3904b8fed015.tar.xz |
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.c | 2 |
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; |