diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-11-24 21:39:59 +0100 |
|---|---|---|
| committer | Yury Norov (NVIDIA) <yury.norov@gmail.com> | 2025-11-24 16:08:18 -0500 |
| commit | 4bd68e475300bc97b33a7f1ef9bd112970018789 (patch) | |
| tree | 6404da90adf31690e625d076b87bf9ff9a399043 /include/linux | |
| parent | c604cb5fdf0f569a9ce344a37a79958c3841396e (diff) | |
cpumask: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use)
principle.
Note that kernel.h is discouraged to be included as it's written
at the top of that file.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpumask.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index ff8f41ab7ce6..df89eedc6e91 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h @@ -7,14 +7,16 @@ * set of CPUs in a system, one bit position per CPU number. In general, * only nr_cpu_ids (<= NR_CPUS) bits are valid. */ -#include <linux/cleanup.h> -#include <linux/kernel.h> +#include <linux/atomic.h> #include <linux/bitmap.h> +#include <linux/cleanup.h> #include <linux/cpumask_types.h> -#include <linux/atomic.h> -#include <linux/bug.h> #include <linux/gfp_types.h> #include <linux/numa.h> +#include <linux/threads.h> +#include <linux/types.h> + +#include <asm/bug.h> /** * cpumask_pr_args - printf args to output a cpumask |
