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

View File

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