Skip to content

Commit

Permalink
lib/group_cpus: Export group_cpus_evenly()
Browse files Browse the repository at this point in the history
Export group_cpus_evenly() so that some modules
can make use of it to group CPUs evenly according
to NUMA and CPU locality.

Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
YongjiXie authored and mstsirkin committed Apr 21, 2023
1 parent e9d67e5 commit aaf0594
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/group_cpus.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,4 @@ struct cpumask *group_cpus_evenly(unsigned int numgrps)
return masks;
}
#endif /* CONFIG_SMP */
EXPORT_SYMBOL_GPL(group_cpus_evenly);

0 comments on commit aaf0594

Please sign in to comment.