Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit aaf0594

Browse files
YongjiXiemstsirkin
authored andcommitted
lib/group_cpus: Export group_cpus_evenly()
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]>
1 parent e9d67e5 commit aaf0594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/group_cpus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,3 +426,4 @@ struct cpumask *group_cpus_evenly(unsigned int numgrps)
426426
return masks;
427427
}
428428
#endif /* CONFIG_SMP */
429+
EXPORT_SYMBOL_GPL(group_cpus_evenly);

0 commit comments

Comments
 (0)