mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
Merge "sched/walt:Do not use package id while setting up clusters"
This commit is contained in:
commit
b2a9fed519
|
|
@ -2641,13 +2641,13 @@ static void walt_get_possible_siblings(int cpuid, struct cpumask *cluster_cpus)
|
|||
int cpu;
|
||||
struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid];
|
||||
|
||||
if (cpuid_topo->package_id == -1)
|
||||
if (cpuid_topo->cluster_id == -1)
|
||||
return;
|
||||
|
||||
for_each_possible_cpu(cpu) {
|
||||
cpu_topo = &cpu_topology[cpu];
|
||||
|
||||
if (cpuid_topo->package_id != cpu_topo->package_id)
|
||||
if (cpuid_topo->cluster_id != cpu_topo->cluster_id)
|
||||
continue;
|
||||
cpumask_set_cpu(cpu, cluster_cpus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user