summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-02-03 15:32:43 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:41:39 +0900
commit4d731660d10d5e20807fe9389f93453beb38c568 (patch)
tree3359282530bd6b1bd7752e6eab73271199ff6fd1 /kernel
parent326e89c818a41b4074ddf79100644bd688272fdd (diff)
LOCAL / sched: Fix build break
kernel/sched/fair.c: In function ‘find_new_ilb’: kernel/sched/fair.c:7973:42: error: ‘call_cpu’ undeclared (first use in this function) &((struct hmp_domain *)hmp_cpu_domain(call_cpu))->cpus); Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index af34e1e3f7d7..050d571a8eff 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -8055,6 +8055,7 @@ static inline int find_new_ilb(void)
int ilb = cpumask_first(nohz.idle_cpus_mask);
#ifdef CONFIG_SCHED_HMP
+ int call_cpu = smp_processor_id();
/* restrict nohz balancing to occur in the same hmp domain */
ilb = cpumask_first_and(nohz.idle_cpus_mask,
&((struct hmp_domain *)hmp_cpu_domain(call_cpu))->cpus);