projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix comment: unlock_hrtimer_base is the counterpart of lock_hrtimer_base
[powerpc.git]
/
kernel
/
sched_idletask.c
diff --git
a/kernel/sched_idletask.c
b/kernel/sched_idletask.c
index
3503fb2
..
6e2ead4
100644
(file)
--- a/
kernel/sched_idletask.c
+++ b/
kernel/sched_idletask.c
@@
-50,10
+50,15
@@
static void task_tick_idle(struct rq *rq, struct task_struct *curr)
{
}
{
}
+static void set_curr_task_idle(struct rq *rq)
+{
+}
+
/*
* Simple, special scheduling class for the per-CPU idle tasks:
*/
/*
* Simple, special scheduling class for the per-CPU idle tasks:
*/
-static struct sched_class idle_sched_class __read_mostly = {
+const struct sched_class idle_sched_class = {
+ /* .next is NULL */
/* no enqueue/yield_task for idle tasks */
/* dequeue is not valid, we print a debug message there: */
/* no enqueue/yield_task for idle tasks */
/* dequeue is not valid, we print a debug message there: */
@@
-66,6
+71,7
@@
static struct sched_class idle_sched_class __read_mostly = {
.load_balance = load_balance_idle,
.load_balance = load_balance_idle,
+ .set_curr_task = set_curr_task_idle,
.task_tick = task_tick_idle,
/* no .task_new for idle tasks */
};
.task_tick = task_tick_idle,
/* no .task_new for idle tasks */
};