summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 10:47:49 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-03-05 13:37:01 +1030
commit270bd400e8030ed921e80f334c3ebf274fd93037 (patch)
tree9d6490b00f01509d4795f7a7036f49efb6d6b7ff
parent6587457b4b3d663b237a0f95ddf6e67d1828c8ea (diff)
downloadtalos-op-linux-270bd400e8030ed921e80f334c3ebf274fd93037.tar.gz
talos-op-linux-270bd400e8030ed921e80f334c3ebf274fd93037.zip
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
-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():
OpenPOWER on IntegriCloud