-
-
Save pfactum/2a53896a7ec039cad3db8fc304b6291d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/sched/pds.c b/kernel/sched/pds.c | |
index 722f357a782b..b09ca71a90a1 100644 | |
--- a/kernel/sched/pds.c | |
+++ b/kernel/sched/pds.c | |
@@ -6149,6 +6149,7 @@ static void sched_init_topology_cpumask(void) | |
#endif | |
sched_cpu_affinity_llc_end_masks[cpu] = chk; | |
+#ifdef CONFIG_SCHED_MC | |
/** | |
* Set up sd_llc_id per CPU | |
*/ | |
@@ -6162,6 +6163,7 @@ static void sched_init_topology_cpumask(void) | |
cpumask_copy(chk, &tmp); | |
chk++; | |
} | |
+#endif | |
cpumask_complement(&tmp, topology_core_cpumask(cpu)); | |
if (cpumask_and(&tmp, &tmp, cpu_online_mask)) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment