Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 270bd400 authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: fix cpu-hotplug documentation



It refers to an obsolete function.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
parent 6587457b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ Never use anything other than cpumask_t to represent bitmap of CPUs.
	for_each_possible_cpu     - Iterate over cpu_possible_mask
	for_each_online_cpu       - Iterate over cpu_online_mask
	for_each_present_cpu      - Iterate over cpu_present_mask
	for_each_cpu_mask(x,mask) - Iterate over some random collection of cpu mask.
	for_each_cpu(x,mask)      - Iterate over some random collection of cpu mask.

	#include <linux/cpu.h>
	get_online_cpus() and put_online_cpus():