aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-09-05 16:08:18 -0700
committerYury Norov <yury.norov@gmail.com>2022-09-19 17:51:53 -0700
commit7102b3bb070fdf4580a05cbfc5ad3c0691dc4bf9 (patch)
treed1fbf5c9d40b450e858f89624f0f9b090505967c /include
parentsmp: add set_nr_cpu_ids() (diff)
downloadlinux-dev-7102b3bb070fdf4580a05cbfc5ad3c0691dc4bf9.tar.xz
linux-dev-7102b3bb070fdf4580a05cbfc5ad3c0691dc4bf9.zip
lib/cpumask: delete misleading comment
The comment says that HOTPLUG config option enables all cpus in cpu_possible_mask up to NR_CPUs. This is wrong. Even if HOTPLUG is enabled, the mask is populated on boot with respect to ACPI/DT records. Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpumask.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 24763997894d..9d2f0e3e927e 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -72,10 +72,6 @@ static inline void set_nr_cpu_ids(unsigned int nr)
* cpu_online_mask is the dynamic subset of cpu_present_mask,
* indicating those CPUs available for scheduling.
*
- * If HOTPLUG is enabled, then cpu_possible_mask is forced to have
- * all NR_CPUS bits set, otherwise it is just the set of CPUs that
- * ACPI reports present at boot.
- *
* If HOTPLUG is enabled, then cpu_present_mask varies dynamically,
* depending on what ACPI reports as currently plugged in, otherwise
* cpu_present_mask is just a copy of cpu_possible_mask.