diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-24 01:49:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-05-01 12:03:42 -0700 |
commit | 45b001d0168593243bfd1005f8e9256c0ec3a912 (patch) | |
tree | 0aaed18347f16a02437de71db3d20563a108bc83 /include | |
parent | 6c3b9da475a0a62cb5eb9ed458004b8d6d1d330e (diff) | |
download | kernel-common-45b001d0168593243bfd1005f8e9256c0ec3a912.tar.gz kernel-common-45b001d0168593243bfd1005f8e9256c0ec3a912.tar.bz2 kernel-common-45b001d0168593243bfd1005f8e9256c0ec3a912.zip |
[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.h | 1 |
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) |