diff options
Diffstat (limited to 'kernel/sched_idletask.c')
-rw-r--r-- | kernel/sched_idletask.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/kernel/sched_idletask.c b/kernel/sched_idletask.c index 6e2ead41516e..586b06ca30aa 100644 --- a/kernel/sched_idletask.c +++ b/kernel/sched_idletask.c | |||
@@ -39,9 +39,16 @@ static void put_prev_task_idle(struct rq *rq, struct task_struct *prev) | |||
39 | 39 | ||
40 | static unsigned long | 40 | static unsigned long |
41 | load_balance_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, | 41 | load_balance_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, |
42 | unsigned long max_nr_move, unsigned long max_load_move, | 42 | unsigned long max_load_move, |
43 | struct sched_domain *sd, enum cpu_idle_type idle, | 43 | struct sched_domain *sd, enum cpu_idle_type idle, |
44 | int *all_pinned, int *this_best_prio) | 44 | int *all_pinned, int *this_best_prio) |
45 | { | ||
46 | return 0; | ||
47 | } | ||
48 | |||
49 | static int | ||
50 | move_one_task_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, | ||
51 | struct sched_domain *sd, enum cpu_idle_type idle) | ||
45 | { | 52 | { |
46 | return 0; | 53 | return 0; |
47 | } | 54 | } |
@@ -70,6 +77,7 @@ const struct sched_class idle_sched_class = { | |||
70 | .put_prev_task = put_prev_task_idle, | 77 | .put_prev_task = put_prev_task_idle, |
71 | 78 | ||
72 | .load_balance = load_balance_idle, | 79 | .load_balance = load_balance_idle, |
80 | .move_one_task = move_one_task_idle, | ||
73 | 81 | ||
74 | .set_curr_task = set_curr_task_idle, | 82 | .set_curr_task = set_curr_task_idle, |
75 | .task_tick = task_tick_idle, | 83 | .task_tick = task_tick_idle, |