[PATCH 2/2] sched/rt: Make init_sched_rt_calss() __init

From: Li Zefan
Date: Sat Feb 08 2014 - 01:19:01 EST


It's a bootstrap function.

Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
---
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 1c40655..e45ec9a 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1825,7 +1825,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;

--
1.8.0.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/