aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/fair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index f44da9b491ff..8abd1c271499 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6117,7 +6117,7 @@ static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int
6117/* 6117/*
6118 * Scan the local SMT mask for idle CPUs. 6118 * Scan the local SMT mask for idle CPUs.
6119 */ 6119 */
6120static int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) 6120static int select_idle_smt(struct task_struct *p, int target)
6121{ 6121{
6122 int cpu; 6122 int cpu;
6123 6123
@@ -6141,7 +6141,7 @@ static inline int select_idle_core(struct task_struct *p, struct sched_domain *s
6141 return -1; 6141 return -1;
6142} 6142}
6143 6143
6144static inline int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) 6144static inline int select_idle_smt(struct task_struct *p, int target)
6145{ 6145{
6146 return -1; 6146 return -1;
6147} 6147}
@@ -6246,7 +6246,7 @@ static int select_idle_sibling(struct task_struct *p, int prev, int target)
6246 if ((unsigned)i < nr_cpumask_bits) 6246 if ((unsigned)i < nr_cpumask_bits)
6247 return i; 6247 return i;
6248 6248
6249 i = select_idle_smt(p, sd, target); 6249 i = select_idle_smt(p, target);
6250 if ((unsigned)i < nr_cpumask_bits) 6250 if ((unsigned)i < nr_cpumask_bits)
6251 return i; 6251 return i;
6252 6252