lkml.org 
[lkml]   [2014]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:sched/core] sched/rt: Make init_sched_rt_calss() __init
Commit-ID:  6bd5d275ea039721f6fd382a15dc6adc949c77ec
Gitweb: http://git.kernel.org/tip/6bd5d275ea039721f6fd382a15dc6adc949c77ec
Author: Li Zefan <lizefan@huawei.com>
AuthorDate: Sat, 8 Feb 2014 14:17:45 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
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@kernel.org>
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>
---
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;


\
 
 \ /
  Last update: 2014-02-21 23:21    [W:0.070 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site