nodemask: numa: reorganize inclusion path
authorYury Norov <yury.norov@gmail.com>
Fri, 14 Feb 2025 19:40:01 +0000 (20:40 +0100)
committerTejun Heo <tj@kernel.org>
Sun, 16 Feb 2025 16:52:19 +0000 (06:52 -1000)
commit14a8262f505bc4478c50e66309057bc0d0d4b62e
treea2573d083669eef13b97a51eac6e4bba07b8a7d8
parent7665054ee0dd0caba6f5f7bae48aa5f221218496
nodemask: numa: reorganize inclusion path

Nodemasks now pull linux/numa.h for MAX_NUMNODES and NUMA_NO_NODE
macros. This series makes numa.h depending on nodemasks, so we hit
a circular dependency.

Nodemasks library is highly employed by NUMA code, and it would be
logical to resolve the circular dependency by making NUMA headers
dependent nodemask.h.

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/nodemask.h
include/linux/nodemask_types.h
include/linux/numa.h