summaryrefslogtreecommitdiff
path: root/Documentation/cpu-hotplug.txt
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 03:17:49 +0300
committerRusty Russell <rusty@rustcorp.com.au>2015-03-05 06:07:01 +0300
commit270bd400e8030ed921e80f334c3ebf274fd93037 (patch)
tree9d6490b00f01509d4795f7a7036f49efb6d6b7ff /Documentation/cpu-hotplug.txt
parent6587457b4b3d663b237a0f95ddf6e67d1828c8ea (diff)
downloadlinux-270bd400e8030ed921e80f334c3ebf274fd93037.tar.xz
cpumask: fix cpu-hotplug documentation
It refers to an obsolete function. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org
Diffstat (limited to 'Documentation/cpu-hotplug.txt')
-rw-r--r--Documentation/cpu-hotplug.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt
index a0b005d2bd95..f9ad5e048b11 100644
--- a/Documentation/cpu-hotplug.txt
+++ b/Documentation/cpu-hotplug.txt
@@ -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():