From: Andrew Morton Date: Mon, 24 Apr 2006 08:49:59 +0000 (-0700) Subject: [PATCH] for_each_possible_cpu X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commitdiff;h=45b001d0168593243bfd1005f8e9256c0ec3a912 [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 Signed-off-by: Greg Kroah-Hartman --- --- 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)