From 45b001d0168593243bfd1005f8e9256c0ec3a912 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 24 Apr 2006 01:49:59 -0700 Subject: [PATCH] [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 --- include/linux/cpumask.h | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5