Merge "cpumap_functions.sh: fix perl experimental feature issue"

This commit is contained in:
Zuul 2020-12-17 19:34:22 +00:00 committed by Gerrit Code Review
commit ec14bab581
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ function topology_to_cpulist {
}
}
END {
@cores = sort { $a <=> $b } keys $T{$socket};
@cores = sort { $a <=> $b } keys %{ $T{$socket} };
@sel_cores = splice @cores, $core_start, $num_cores;
@lcpus = ();
for $C (@sel_cores) {