diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2023-03-23 06:30:33 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 09:02:31 +0200 |
commit | aaf0594829c3a6f16bdf5d30904a7db4548dae15 (patch) | |
tree | bc137ea6674daf1160cb8d03f63fe07196f80965 /lib | |
parent | vdpa/mlx5: Extend driver support for new features (diff) | |
download | linux-aaf0594829c3a6f16bdf5d30904a7db4548dae15.tar.xz linux-aaf0594829c3a6f16bdf5d30904a7db4548dae15.zip |
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 <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230323053043.35-2-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/group_cpus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/group_cpus.c b/lib/group_cpus.c index 9c837a35fef7..aa3f6815bb12 100644 --- a/lib/group_cpus.c +++ b/lib/group_cpus.c @@ -426,3 +426,4 @@ struct cpumask *group_cpus_evenly(unsigned int numgrps) return masks; } #endif /* CONFIG_SMP */ +EXPORT_SYMBOL_GPL(group_cpus_evenly); |