summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-04-24 01:49:59 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-05-01 12:03:42 -0700
commit45b001d0168593243bfd1005f8e9256c0ec3a912 (patch)
tree0aaed18347f16a02437de71db3d20563a108bc83 /include
parent6c3b9da475a0a62cb5eb9ed458004b8d6d1d330e (diff)
[PATCH] for_each_possible_cpu
Backport for_each_possible_cpu() into 2.6.16. Fixes the alpha build, and any future occurrences. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpumask.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 60e56c6e03dd..a47ad705c63e 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -408,6 +408,7 @@ extern cpumask_t cpu_present_map;
})
#define for_each_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map)
+#define for_each_possible_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map)
#define for_each_online_cpu(cpu) for_each_cpu_mask((cpu), cpu_online_map)
#define for_each_present_cpu(cpu) for_each_cpu_mask((cpu), cpu_present_map)