diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-06 08:23:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-06 08:23:39 -0400 |
commit | 68083e05d72d94f347293d8cc0067050ba904bfa (patch) | |
tree | 842e71365bd90866be7add181661a4039d891564 /include/linux/cpumask.h | |
parent | 7baac8b91f9871ba8cb09af84de4ae1d86d07812 (diff) | |
parent | b7279469d66b55119784b8b9529c99c1955fe747 (diff) |
Merge commit 'v2.6.26-rc9' into cpus4096
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r-- | include/linux/cpumask.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index 80226e776143..47418b1b4103 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h | |||
@@ -394,6 +394,10 @@ int __next_cpu_nr(int n, const cpumask_t *srcp); | |||
394 | 394 | ||
395 | #endif /* NR_CPUS > 64 */ | 395 | #endif /* NR_CPUS > 64 */ |
396 | 396 | ||
397 | #define next_cpu_nr(n, src) next_cpu(n, src) | ||
398 | #define cpus_weight_nr(cpumask) cpus_weight(cpumask) | ||
399 | #define for_each_cpu_mask_nr(cpu, mask) for_each_cpu_mask(cpu, mask) | ||
400 | |||
397 | /* | 401 | /* |
398 | * The following particular system cpumasks and operations manage | 402 | * The following particular system cpumasks and operations manage |
399 | * possible, present and online cpus. Each of them is a fixed size | 403 | * possible, present and online cpus. Each of them is a fixed size |