aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index fe17e0be2d7b..4d181478c5b8 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -716,7 +716,7 @@ struct root_domain {
716 cpumask_var_t online; 716 cpumask_var_t online;
717 717
718 /* Indicate more than one runnable task for any CPU */ 718 /* Indicate more than one runnable task for any CPU */
719 bool overload; 719 int overload;
720 720
721 /* 721 /*
722 * The bit corresponding to a CPU gets set here if such CPU has more 722 * The bit corresponding to a CPU gets set here if such CPU has more
@@ -1698,7 +1698,7 @@ static inline void add_nr_running(struct rq *rq, unsigned count)
1698 if (prev_nr < 2 && rq->nr_running >= 2) { 1698 if (prev_nr < 2 && rq->nr_running >= 2) {
1699#ifdef CONFIG_SMP 1699#ifdef CONFIG_SMP
1700 if (!rq->rd->overload) 1700 if (!rq->rd->overload)
1701 rq->rd->overload = true; 1701 rq->rd->overload = 1;
1702#endif 1702#endif
1703 } 1703 }
1704 1704