summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-03-12 14:45:47 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:41:59 +0900
commitd5229e8d7df9e95ecfe220f1c0091a0fd65c658b (patch)
tree51655c9b892a181153dd54e23ef12b3b8074f14c /kernel
parent45c8b3e79d75311e81b80cf4aeb4c96a4480b23c (diff)
LOCAL / sched: Fix build break by using alternative function
This patch fixes the build break because Linux 4.0 didn't include the cpumask_scnprintf() function. So, this patch use the alternative function (cpumap_print_to_pagebuf()). Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> [k.kozlowski: rebased on 4.1] Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 1e213675ea5b..7614fb0c6718 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5029,8 +5029,9 @@ static int __init hmp_cpu_mask_setup(void)
dc = 0;
list_for_each(pos, &hmp_domains) {
domain = list_entry(pos, struct hmp_domain, hmp_domains);
+ scnprintf(buf, 64, "%*pbl", cpumask_pr_args(&domain->cpus));
scnprintf(buf, 64, "%*pbl", cpumask_pr_args(&domain->possible_cpus));
- pr_debug(" HMP domain %d: %s\n", dc, buf);
+ pr_info(" HMP domain %d: %s\n", dc, buf);
for_each_cpu(cpu, &domain->possible_cpus) {
per_cpu(hmp_cpu_domain, cpu) = domain;