aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpumask.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r--include/linux/cpumask.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index d0e8c8b0e34d..23f55140ccd5 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -398,11 +398,11 @@ extern cpumask_t cpu_present_map;
398#endif 398#endif
399 399
400#ifdef CONFIG_SMP 400#ifdef CONFIG_SMP
401int highest_possible_processor_id(void); 401extern int nr_cpu_ids;
402#define any_online_cpu(mask) __any_online_cpu(&(mask)) 402#define any_online_cpu(mask) __any_online_cpu(&(mask))
403int __any_online_cpu(const cpumask_t *mask); 403int __any_online_cpu(const cpumask_t *mask);
404#else 404#else
405#define highest_possible_processor_id() 0 405#define nr_cpu_ids 1
406#define any_online_cpu(mask) 0 406#define any_online_cpu(mask) 0
407#endif 407#endif
408 408